How To Remove The Filter That Adds JetPack Related Content To Dom [closed]
$jprp = Jetpack_RelatedPosts::init(); remove_filter( ‘the_content’, array( $jprp, ‘filter_add_target_to_dom’ ) ); Should work fine. The Jetpack_RelatedPosts init function implements the singleton pattern, so calling it will return the already instantiated instance, which you can use to remove the filter. Just make sure you call your code late enough. The main module is hooking the add_action to … Read more