Snippets

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

Created by Michael Visser last modified
<?php
function custom_woo_ce_filename_tag_date( $date ) {

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

}
add_filter( 'woo_ce_filename_tag_date', 'custom_woo_ce_filename_tag_date' );
?>

Comments (0)