Modify post(s) before SearchWP indexes them
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 | |
// Modify post(s) before SearchWP indexes them. | |
add_filter( 'searchwp_pre_set_post', function( $the_post ) { | |
// TODO: Modify $the_post in any way you see fit. | |
return $the_post; | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment