(identifier)_query_args
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
(identifier)_query_args
woocommerce/packages/action-scheduler/lib/WP_Async_Request.php 114
return apply_filters( $this->identifier . '_query_args', $args );
Where the hook is used in WooCommerce
woocommerce/src/Internal/Admin/ProductReviews/ReviewsCommentsOverrides.php 21
add_filter( 'comments_list_table_query_args', array( $this, 'exclude_reviews_from_comments' ) );
woocommerce/src/Internal/DataStores/Orders/CustomOrdersTableController.php 148
add_filter( 'removable_query_args', array( $this, 'register_removable_query_arg' ) );
woocommerce/src/Internal/Fulfillments/FulfillmentsRenderer.php 68
add_filter( 'woocommerce_order_query_args', array( $this, 'filter_orders_list_table_query' ), 10, 1 );