0

function year_shortcode () {
    $year = date_i18n ('Y');
    return $year;
}
add_shortcode ('year', 'year_shortcode');

Jagdish Sarma Asked question November 11, 2021
Add a Comment