woocommerce_cached_widget_id
Usage
add_filter( 'woocommerce_cached_widget_id', 'wp_kama_woocommerce_cached_widget_id_filter' ); /** * Function for `woocommerce_cached_widget_id` filter-hook. * * @param $widget_id_for_cache * * @return */ function wp_kama_woocommerce_cached_widget_id_filter( $widget_id_for_cache ){ // filter... return $widget_id_for_cache; }
- $widget_id_for_cache
- -
Where the hook is called
woocommerce_cached_widget_id
woocommerce/includes/abstracts/abstract-wc-widget.php 406
return apply_filters( 'woocommerce_cached_widget_id', $widget_id_for_cache );