Hi all,
I was rebuilding with bricks from old site that has Astra theme and elementor.
How do I put a current year in woocommerce email footer text area?
I tried this one and it worked for site footer text.
But it didn’t work for woocommerce email footer text area.
I also try to use this function but it also didn’t worked.
//woocommerce current year shortcode
//Display current year
add_filter (‘widget_text’, ‘do_shortcode’);
function year_shortcode () {
$year = date_i18n (‘Y’);
return $year;
}
add_shortcode (‘year’, ‘year_shortcode’);
Any suggestion.
Thanks