Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Customize content before SearchWP highlights it
function my_searchwp_th_pre_process_content( $content ) {
// TODO: manipulate $content in any way you'd like.
return $content;
add_filter( 'searchwp_th_pre_process_content', 'my_searchwp_th_pre_process_content' );
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.