Previously the Events Calendar used to automatically exclude past events from custom queries but it seems like this is no…
/** * Exclude Passed Events from Builder Elements. * * @link https://total.wpexplorer.com/docs/snippets/exclude-tribe-events-wpbakery/ */ add_filter( 'vcex_query_args', function( $args ) { $showing_events…
You can use the "vcex_query_args" filter to tweak the query arguments for any Total theme element that displays posts. The…
// Add social share to event hook // If you want to place in another hook locate your hook of…
// Disable the Tribe Events Calendar Plugin single event featured image. add_filter( 'tribe_event_featured_image', '__return_false' );
// IMPORTANT: There are now options at Customizer > Events Calendar for this!!! /** * Example for altering event calendar…
function my_tribe_events_register_event_type_args( $args ) { // Exclude from search $args['exclude_from_search'] = true; // Return args return $args; } add_filter( 'tribe_events_register_event_type_args',…