Skip to content

Instantly share code, notes, and snippets.

@imath
Created October 3, 2014 12:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save imath/cca1ce09f38243364269 to your computer and use it in GitHub Desktop.
Save imath/cca1ce09f38243364269 to your computer and use it in GitHub Desktop.
Neutralize hashbuddy filter.
<?php
/**
* Name me as wp-idea-stream-custom.php
* and put me in /wp-content/plugins/
*/
function qobalt_remove_hashbuddy_filter() {
if ( ! wp_idea_stream_is_single_idea() ) {
return;
}
remove_filter( 'the_content', 'hashbuddy_posts_hashtags_filter' );
}
add_action( 'wp_idea_stream_actions', 'qobalt_remove_hashbuddy_filter' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment