Function Reference: geodir_event_general_setting_options
Summary
This function has not been documented yet.
Filters
‘geodir_ajax_duplicate_general_options’ [Line: 555]
Source File
geodir_event_general_setting_options() is located in geodir_event_manager/gdevents-admin/admin_functions.php [Line: 515]
Source Code
function geodir_event_general_setting_options($arr=array()) { $arr[] = array( 'name' => __( 'Filter Settings', GEODIREVENTS_TEXTDOMAIN ), 'type' => 'no_tabs', 'desc' => '', 'id' => 'geodir_eventgeneral_options' ); $arr[] = array( 'name' => __( 'Listing settings', GEODIREVENTS_TEXTDOMAIN ), 'type' => 'sectionstart', 'id' => 'geodir_event_general_options'); $arr[] = array( 'name' => __( 'Default event filter', GEODIREVENTS_TEXTDOMAIN ), 'desc' => __( 'Set the default filter view of event on listing page', GEODIREVENTS_TEXTDOMAIN ), 'id' => 'geodir_event_defalt_filter', 'css' => 'min-width:300px;', 'std' => 'today', 'type' => 'select', 'class' => 'chosen_select', 'options' => array_unique( array( 'all' => __( 'All', GEODIREVENTS_TEXTDOMAIN ), 'today' => __( 'Today', GEODIREVENTS_TEXTDOMAIN ), 'upcoming' => __( 'Upcoming', GEODIREVENTS_TEXTDOMAIN ), 'past' => __( 'Past', GEODIREVENTS_TEXTDOMAIN ) )) ); $arr[] = array( 'name' => __( 'Disable Recurring Feature', GEODIREVENTS_TEXTDOMAIN ), 'desc' => __( 'This allows to disable recurring event feature', GEODIREVENTS_TEXTDOMAIN ), 'id' => 'geodir_event_disable_recurring', 'type' => 'checkbox', 'std' => '0' ); $arr[] = array( 'name' => __( 'Hide event past dates', GEODIREVENTS_TEXTDOMAIN ), 'desc' => __( 'Hide event past dates in the detail page sidebar of recurring events', GEODIREVENTS_TEXTDOMAIN ), 'id' => 'geodir_event_hide_past_dates', 'type' => 'checkbox', 'std' => '0' ); $arr[] = array( 'type' => 'sectionend', 'id' => 'geodir_event_general_options'); $arr = apply_filters('geodir_ajax_duplicate_general_options' ,$arr ); return $arr; }