Customize the arguments sent to SWP_Query
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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