Skip to content

Instantly share code, notes, and snippets.

Created April 22, 2019 13:26
What would you like to do?
Filter arguments sent to SWP_Query before a search is run in SearchWP
add_filter( 'searchwp_swp_query_args', function( $args ) {
// TODO: Modify $args as you see fit.
return $args;
} );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment