woocommerce_analytics_downloads_select_query
Использование
add_filter( 'woocommerce_analytics_downloads_select_query', 'wp_kama_woocommerce_analytics_downloads_select_query_filter', 10, 2 ); /** * Function for `woocommerce_analytics_downloads_select_query` filter-hook. * * @param $results * @param $args * * @return */ function wp_kama_woocommerce_analytics_downloads_select_query_filter( $results, $args ){ // filter... return $results; }
- $results
- -
- $args
- -
Где вызывается хук
woocommerce/src/Admin/API/Reports/Downloads/Query.php 56
return apply_filters( 'woocommerce_analytics_downloads_select_query', $results, $args );