Customize the SearchWP engine used in EDD Integration
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 searchwp_edd_engine( $engine, $query, $atts ) { | |
return 'default'; // the name of the engine you want to use for the [downloads] Shortcode | |
} | |
add_filter( 'searchwp_edd_engine', 'my_searchwp_edd_engine', 10, 3 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment