Skip to content

Instantly share code, notes, and snippets.

@barrykooij
Created October 11, 2014 21:43
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save barrykooij/57db41180adc6463d794 to your computer and use it in GitHub Desktop.
Save barrykooij/57db41180adc6463d794 to your computer and use it in GitHub Desktop.
<?php
function rp4wp_example_remove_filter() {
$filter_instance = RP4WP_Manager_Filter::get_filter_object( 'RP4WP_Filter_After_Post' );
remove_filter( 'the_content', array( $filter_instance, 'run' ), $filter_instance->get_priority() );
}
add_action( 'init', 'rp4wp_example_remove_filter' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment