Private questions by default
Here, simply add this to your theme function.php:
function my_default_ask_field($form){
$form['fields'][] = array(
'name' => 'is_private',
'type' => 'hidden',
'desc' => __('Only visible to admin and moderator.', 'ap'),
'value' => true,
'order' => 12,
'show_desc_tip' => false
);
return $form;
}
add_filter('ap_ask_form_fields', 'my_default_ask_field');
hmmm. didn’t work. The theme function.php correct? not the plugin right?