woocommerce_analytics_report_menu_items
The analytics report items used in the menu.
Usage
add_filter( 'woocommerce_analytics_report_menu_items', 'wp_kama_woocommerce_analytics_report_menu_items_filter' ); /** * Function for `woocommerce_analytics_report_menu_items` filter-hook. * * @param $report_pages * * @return */ function wp_kama_woocommerce_analytics_report_menu_items_filter( $report_pages ){ // filter... return $report_pages; }
- $report_pages
- -
Changelog
Since 6.4.0 | Introduced. |
Where the hook is called
woocommerce_analytics_report_menu_items
woocommerce/src/Internal/Admin/Analytics.php 320
return apply_filters( 'woocommerce_analytics_report_menu_items', $report_pages );