function tsf_year() {
$year = date('Y');
return $year;
}
add_shortcode('year', 'tsf_year');
add_filter( 'widget_text', 'do_shortcode' );
function tsf_year() {
$year = date('Y');
return $year;
}
add_shortcode('year', 'tsf_year');
add_filter( 'widget_text', 'do_shortcode' );