Modify the endpoint used by SearchWP's indexer
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 | |
function my_searchwp_endpoint() { | |
return 'searchwp'; // will return the equivalent of site_url() . '/searchwp'; | |
} | |
add_filter( 'searchwp_endpoint', 'my_searchwp_endpoint' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment