Filter Reference: geodir_general_options
Summary
Filter GD general settings array.
Package
GeoDirectory
Change Log
Since: 1.0.0
Used by
geodirectory-admin/option-pages/general_settings_array.php: [Line: 17]
Source Code
$general_options = apply_filters('geodir_general_options', array( array('name' => __('General', 'geodirectory'), 'type' => 'title', 'desc' => '', 'id' => 'general_options'), array('name' => __('General Options', 'geodirectory'), 'type' => 'sectionstart', 'id' => 'general_options'), array( 'name' => __('Sender name', 'geodirectory'), 'desc' => __('(Name that will be shown as email sender when users receive emails from this site)', 'geodirectory'), 'id' => 'site_email_name', 'type' => 'text', 'css' => 'min-width:300px;', 'std' => get_bloginfo('name') // Default value for the page title - changed in settings ), array( 'name' => __('Email address', 'geodirectory'), 'desc' => __('(Emails to users will be sent via this mail ID)', 'geodirectory'), 'id' => 'site_email', 'type' => 'text', 'css' => 'min-width:300px;', 'std' => get_bloginfo('admin_email') // Default value for the page title - changed in settings ), array( 'name' => __('Allow user to see wp-admin area', 'geodirectory'), 'desc' => __('Yes', 'geodirectory'), 'id' => 'geodir_allow_wpadmin', 'std' => '1', 'type' => 'radio', 'value' => '1', 'radiogroup' => 'start' ), array( 'name' => __('Allow user to see wp-admin area', 'geodirectory'), 'desc' => __('No', 'geodirectory'), 'id' => 'geodir_allow_wpadmin', 'std' => '0', 'type' => 'radio', 'value' => '0', 'radiogroup' => 'end' ), array( 'name' => __('Allow user to choose own password', 'geodirectory'), 'desc' => __('Yes', 'geodirectory'), 'id' => 'geodir_allow_cpass', 'std' => '1', 'type' => 'radio', 'value' => '1', 'radiogroup' => 'start' ), array( 'name' => __('Allow user to choose own password', 'geodirectory'), 'desc' => __('No', 'geodirectory'), 'id' => 'geodir_allow_cpass', 'std' => '0', 'type' => 'radio', 'value' => '0', 'radiogroup' => 'end' ), array( 'name' => __('Disable review stars for CPT', 'geodirectory'), 'desc' => __('Disable review stars for certain CPT without disabling comments on listings.', 'geodirectory'), 'tip' => '', 'id' => 'geodir_disable_rating_cpt', 'css' => 'min-width:300px;', 'std' => '', 'type' => 'multiselect', 'placeholder_text' => __('Select post types', 'geodirectory'), 'class' => 'chosen_select', 'options' => array_unique(geodir_post_type_setting_fun()) ), array( 'name' => __('User deleted posts go to trash', 'geodirectory'), 'desc' => __('If checked a user deleted post will go to trash, otherwise it will be permanently deleted', 'geodirectory'), 'id' => 'geodir_disable_perm_delete', 'type' => 'checkbox', 'std' => '1' ), array( 'name' => __('Max upload file size(in mb)', 'geodirectory'), 'desc' => __('(Maximum upload file size in MB, 1 MB = 1024 KB. Must be greater then 0(ZERO), for ex: 2. This setting will overwrite the max upload file size limit in image/file upload & import listings for entire GeoDirectory core + GeoDirectory plugins.)', 'geodirectory'), 'id' => 'geodir_upload_max_filesize', 'type' => 'text', 'css' => 'min-width:300px;', 'std' => '2' ), array('type' => 'sectionend', 'id' => 'general_options'), ));/* General Options End*/