woocommerce_time_format
Использование
add_filter( 'woocommerce_time_format', 'wp_kama_woocommerce_time_format_filter' ); /** * Function for `woocommerce_time_format` filter-hook. * * @param $time_format * * @return */ function wp_kama_woocommerce_time_format_filter( $time_format ){ // filter... return $time_format; }
- $time_format
- -
Где вызывается хук
woocommerce_time_format
woocommerce/includes/wc-formatting-functions.php 690
return apply_filters( 'woocommerce_time_format', $time_format );