woocommerce_time_format

woocommerce_time_format

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_time_format') is found 1 times:

  • /includes/wc-formatting-functions.php line 690
    	if ( empty( $time_format ) ) {
    		// Return default time format if the option is empty.
    		$time_format = 'g:i a';
    	}
    	return apply_filters( 'woocommerce_time_format', $time_format );
    }
    
    /**
     * Convert mysql datetime to PHP timestamp, forcing UTC. Wrapper for strtotime.
     *
     * Based on wcs_strtotime_dark_knight() from WC Subscriptions by Prospress.