Action Reference: geodir_general_options
Summary
General Options *
Used by
geodirectory/geodirectory-admin/option-pages/general_settings_array.php: [Line: 7]
Source Code
$general_options = apply_filters('geodir_general_options', array( array('name' => __('General', GEODIRECTORY_TEXTDOMAIN), 'type' => 'title', 'desc' => '', 'id' => 'general_options'), array('name' => __('General Options', GEODIRECTORY_TEXTDOMAIN), 'type' => 'sectionstart', 'id' => 'general_options'), array( 'name' => __('Sender name', GEODIRECTORY_TEXTDOMAIN), 'desc' => __('(Name that will be shown as email sender when users receive emails from this site)', GEODIRECTORY_TEXTDOMAIN), '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_TEXTDOMAIN), 'desc' => __('(Emails to users will be sent via this mail ID)', GEODIRECTORY_TEXTDOMAIN), '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' => __( 'Display Category', GEODIRECTORY_TEXTDOMAIN ), 'desc' => __( 'Allow users to select category at add listing page', GEODIRECTORY_TEXTDOMAIN ), 'tip' => '', 'id' => 'geodir_category_dislay', 'css' => 'min-width:300px;', 'std' => 'checkbox', 'type' => 'select', 'class' => 'chosen_select', 'options' => array_unique(apply_filters('geodir_category_display', array( 'select' => __( 'Category drop down', GEODIRECTORY_TEXTDOMAIN ), 'checkbox' => __( 'Category checkboxs', GEODIRECTORY_TEXTDOMAIN ), 'radio' => __( 'Category radio', GEODIRECTORY_TEXTDOMAIN ), )) ) ), */ array( 'name' => __('Allow user to see wp-admin area', GEODIRECTORY_TEXTDOMAIN), 'desc' => __('Yes', GEODIRECTORY_TEXTDOMAIN), 'id' => 'geodir_allow_wpadmin', 'std' => '1', 'type' => 'radio', 'value' => '1', 'radiogroup' => 'start' ), array( 'name' => __('Allow user to see wp-admin area', GEODIRECTORY_TEXTDOMAIN), 'desc' => __('No', GEODIRECTORY_TEXTDOMAIN), 'id' => 'geodir_allow_wpadmin', 'std' => '0', 'type' => 'radio', 'value' => '0', 'radiogroup' => 'end' ), array( 'name' => __('Allow user to choose own password', GEODIRECTORY_TEXTDOMAIN), 'desc' => __('Yes', GEODIRECTORY_TEXTDOMAIN), 'id' => 'geodir_allow_cpass', 'std' => '1', 'type' => 'radio', 'value' => '1', 'radiogroup' => 'start' ), array( 'name' => __('Allow user to choose own password', GEODIRECTORY_TEXTDOMAIN), 'desc' => __('No', GEODIRECTORY_TEXTDOMAIN), 'id' => 'geodir_allow_cpass', 'std' => '0', 'type' => 'radio', 'value' => '0', 'radiogroup' => 'end' ), array( 'name' => __('Disable rating on comments', GEODIRECTORY_TEXTDOMAIN), 'desc' => __('Disable rating without disabling comments on listings', GEODIRECTORY_TEXTDOMAIN), 'id' => 'geodir_disable_rating', 'type' => 'checkbox', 'std' => '0' ), array( 'name' => __('Maxi upload file size(in mb)', GEODIRECTORY_TEXTDOMAIN), 'desc' => __('(Maximum upload file size in MB, 1 MB = 1024 KB. Must be greater then 0(ZERO), for ex: 2 )', GEODIRECTORY_TEXTDOMAIN), 'id' => 'geodir_upload_max_filesize', 'type' => 'text', 'css' => 'min-width:300px;', 'std' => '2' ), /*array( 'name' => __( 'Disable standard place taxonomie?', GEODIRECTORY_TEXTDOMAIN ), 'desc' => __( 'Yes', GEODIRECTORY_TEXTDOMAIN ), 'id' => 'geodir_disable_place_tax', 'std' => '0', 'type' => 'radio', 'value' => '1', 'radiogroup' => 'start' ), array( 'name' => __( 'Disable standard place taxonomie?', GEODIRECTORY_TEXTDOMAIN ), 'desc' => __( 'No', GEODIRECTORY_TEXTDOMAIN ), 'id' => 'geodir_disable_place_tax', 'std' => '1', 'type' => 'radio', 'value' => '0', 'radiogroup' => 'end' ),*/ array('type' => 'sectionend', 'id' => 'general_options'), ));/* General Options End*/