Snippets

Visser Labs Override the time format set in %time% filename Tag

Created by Michael Visser last modified
<?php
function custom_woo_ce_filename_tag_time( $time ) {

    // Override the time format and pass it back to the Store Exporter Deluxe
    $time = date( 'Hi', current_time( 'timestamp' ) );
    return $time;

}
add_filter( 'woo_ce_filename_tag_time', 'custom_woo_ce_filename_tag_time' );
?>

Comments (0)