Answers for "year shortcode"

PHP
0

year shortcode

function year_shortcode() {
  $year = date('Y');
  return $year;
}
add_shortcode('year', 'year_shortcode');
Posted by: Guest on September-14-2021

Browse Popular Code Answers by Language