Function Reference: gdsc_validate_event_type
Summary
This function has not been documented yet.
Source File
gdsc_validate_event_type() is located in geodir_event_manager/gdevents_shortcodes.php [Line: 186]
Source Code
function gdsc_validate_event_type( $event_type ) { $options = array( 'all', 'feature', 'past', 'future', ); if ( ! ( in_array( $event_type, $options ) ) ) { $event_type = 'feature'; } }