Mô tả
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”;
}<h3>Contribute</h3>
Contributions are always welcome. Simply head over to Github and create an issue or open a pull request.
Cài đặt
- Upload
smntcs-woocommerce-show-sale-price-date
to the/wp-content/plugins/
directory. - Activate the plugin through the
Plugins
menu in WordPress.
Người đóng góp & Lập trình viên
“SMNTCS Show Sale Price Date for WooCommerce” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.
Những người đóng gópDịch “SMNTCS Show Sale Price Date for WooCommerce” sang ngôn ngữ của bạn.
Muốn tham gia phát triển?
Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.
Nhật ký thay đổi
1.4 (2022.01.09)
- Test up to WP 5.9
1.3 (2020.05.09)
- Add info that WooCommerce plugin is required
- Add settings link to plugin page
- Declaring required and supported WooCommerce version
- Make label editable via customizer
1.2 (2020.03.21)
1.1 (2020.03.21)
1.0 (2020.03.14)
- Initial release