(identifier)_query_args filter-hookWC 1.0

Filters the post arguments used during an async request.

Usage

add_filter( '(identifier)_query_args', 'wp_kama_identifier_query_args_filter' );

/**
 * Function for `(identifier)_query_args` filter-hook.
 * 
 * @param array $url 
 *
 * @return array
 */
function wp_kama_identifier_query_args_filter( $url ){

	// filter...
	return $url;
}
$url(array)
-

Where the hook is called

WP_Async_Request::get_query_args()
woocommerce/packages/action-scheduler/lib/WP_Async_Request.php 117
return apply_filters( $this->identifier . '_query_args', $args );

Where the hook is used in WooCommerce

woocommerce/src/Internal/Admin/ProductReviews/ReviewsCommentsOverrides.php 24
self::add_filter( 'comments_list_table_query_args', array( $this, 'exclude_reviews_from_comments' ) );
woocommerce/src/Internal/DataStores/Orders/CustomOrdersTableController.php 130
self::add_filter( 'removable_query_args', array( $this, 'register_removable_query_arg' ) );