BetterDocs calls itself the “Best Documentation & Knowledge Base Plugin”. Use this Extension to use SearchWP to power BetterDoc’s live search implementation.
By default your Default Engine will be used for results, but you can customize the Engine used for BetterDocs searches with this hook:
All hooks should be added to your custom SearchWP Customizations Plugin.
<?php | |
// Use a supplemental SearchWP Engine for BetterDocs searches. | |
add_filter( 'searchwp_betterdocs_engine', function( $engine, $params ) { | |
return 'my_engine_name'; | |
}, 20, 2 ); |