Skip to content

Instantly share code, notes, and snippets.

@jchristopher
Created April 22, 2019 13:26
Embed
What would you like to do?
Filter arguments sent to SWP_Query before a search is run in SearchWP
<?php
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