Skip to content

Instantly share code, notes, and snippets.

Created July 22, 2015 13:07
What would you like to do?
Customize the SearchWP engine used in EDD Integration
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