Created
July 9, 2023 12:07
-
-
Save codersaiful/6951b9b7e08f29b26b7572ecc9647838 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
add_filter('wpt_query_args',function($args){ | |
//Change your text here | |
$target_Text = 'Your Text'; | |
$args['s'] = $args['wpt-s'] = $target_Text; | |
$args['wpt_query_type'] = 'search'; | |
return $args; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment