SMNTCS Show Sale Price Date For WooCommerce Wordpress Plugin - Rating, Reviews, Demo & Download

SMNTCS Show Sale Price Date For WooCommerce Preview Wordpress Plugin - Rating, Reviews, Demo & Download
No ratings yet
Free
Follow for free plugins, new theme releases and theme news

Plugin Description

Show WooCommerce sale prices date on shopping page.

Filter

Adjust date format:

add_filter( 'sale_date_format', 'my_custom_sale_date_format' );
function my_custom_sale_date_format() {
    return 'r';
}

Adjust label:

add_filter( 'sale_date_label', 'my_custom_sale_date_label' );
function my_custom_sale_date_label() {
    return 'Valid until';
}

Contribute

Contributions are always welcome. Simply head over to Github and create an issue or open a pull request.

Screenshots


Reviews & Comments