Created
August 25, 2020 17:12
-
-
Save jchristopher/fdb15189c7cb88be9520fb3fe4307b43 to your computer and use it in GitHub Desktop.
Use a supplemental SearchWP Engine for BetterDocs searches
This file contains hidden or 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 | |
// Use a supplemental SearchWP Engine for BetterDocs searches. | |
add_filter( 'searchwp_betterdocs_engine', function( $engine, $params ) { | |
return 'my_engine_name'; | |
}, 20, 2 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment