-
-
Save BeardedGinger/1b9e25fb609f92decff1597fe259d726 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter( 'tribe_events_widget_jsonld_enabled', __return_false ); | |
add_action( 'tribe_events_after_list_widget', 'move_json_ld_tribe_widget_output' ); | |
function move_json_ld_tribe_widget_output() { | |
$widget = new Tribe__Events__List_Widget(); | |
Tribe__Events__JSON_LD__Event::instance()->markup( $widget::$posts ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment