Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Pre-process content before it is sent to SearchWP's highlighter
<?php
// Pre-process content before it is sent to SearchWP's highlighter.
add_filter( 'searchwp_th_pre_process_content', function( $content ) {
// TODO: Customize $content in any way you see fit.
return $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.