woocommerce_time_format filter-hookWC 1.0

Return default time format if the option is empty.

Usage

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
-

Where the hook is called

wc_time_format()
woocommerce_time_format
woocommerce/includes/wc-formatting-functions.php 686
return apply_filters( 'woocommerce_time_format', $time_format );

Where the hook is used in WooCommerce

Usage not found.