Created
October 3, 2014 12:34
-
-
Save imath/cca1ce09f38243364269 to your computer and use it in GitHub Desktop.
Neutralize hashbuddy filter.
This file contains 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 | |
/** | |
* 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