Created
September 29, 2022 11:42
-
-
Save pickplugins/42386258a32c4701a014d405f3361e48 to your computer and use it in GitHub Desktop.
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
add_filter('wcps_slider_query_args', 'wcps_slider_query_args_20200303', 10, 2); | |
function wcps_slider_query_args_20200303($query_args, $args) | |
{ | |
// search by keyword | |
$query_args['author__in'] = [2]; | |
return $query_args; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment