Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.