Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Modify the endpoint used by SearchWP's indexer
<?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
You can’t perform that action at this time.