Instantly share code, notes, and snippets.

Embed
What would you like to do?
Customize the SearchWP engine used in EDD Integration
<?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