Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
* Ensures the "Jump to Recipe" button is added to the content really late.
add_action( 'init', function(){
if ( method_exists( 'Tasty_Recipes\Shortcodes', 'filter_the_content_late' ) ) {
remove_filter( 'the_content', array( 'Tasty_Recipes\Shortcodes', 'filter_the_content_late' ), 100 );
add_filter( 'the_content', array( 'Tasty_Recipes\Shortcodes', 'filter_the_content_late' ), 10000 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment