Created
March 30, 2021 13:17
-
-
Save skyshab/3d44619a13217bb47e2a9065205706e5 to your computer and use it in GitHub Desktop.
Restore shortcode functionality on the Community Events page
This file contains hidden or 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
<?php | |
add_action( 'tribe_events_community_form', function( $event_id, $event, $template ){ | |
add_filter( 'the_content', 'do_shortcode', 999 ); | |
}, 100, 3); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment