Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Manipulate the post object before SearchWP indexes it
function my_searchwp_set_post( $the_post ) {
// manipulate $the_post in any way you'd like
return $the_post;
add_filter( 'searchwp_set_post', 'my_searchwp_set_post' );
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.