Filter: bricks/query_api/request_args
Filters the request arguments used by a Query API element before Bricks sends the request.
Parameters
Section titled “Parameters”$args(array): HTTP request arguments.$element_id(string): The Query API element ID.$query_api(object): The Query API integration instance.
Example usage
Section titled “Example usage”add_filter( 'bricks/query_api/request_args', function( $args, $element_id, $query_api ) { $args['timeout'] = 20;
return $args;}, 10, 3 );Was this helpful?
A quick vote and short notes help us improve these docs faster.
Leave a note for us
Please do not include passwords, license keys, or personal data. We store submitted notes to improve the docs.
Thanks for sharing feedback. We're using it to improve these docs.