Skip to content

Instantly share code, notes, and snippets.

@jchristopher
Created January 15, 2016 03:26
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
Customize the arguments sent to SWP_Query
<?php
function my_searchwp_swp_query_args( $args ) {
// customize $args as per https://searchwp.com/docs/swp_query/
return $args;
}
add_filter( 'searchwp_swp_query_args', 'my_searchwp_swp_query_args' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment