Type
Filter
Arguments
(array) $args
(class) $api_object
Description
Allows filtering the argument data passed through the API.
Observation
The cache module needs to be off for the filter to trigger.
Example of usage
Add additional argument.
add_filter( 'WOOSL/API_call/arguments', 'WOOSL_API_call_arguments', 10, 3 ); function WOOSL_API_call_arguments ( $args, $object ) { $args['client_hash'] = md5( $_SERVER['HTTP_USER_AGENT'] ); return $args; }