Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

year shortcode

function year_shortcode() {
  $year = date('Y');
  return $year;
}
add_shortcode('year', 'year_shortcode');
 
PREVIOUS NEXT
Tagged: #year #shortcode
ADD COMMENT
Topic
Name
3+9 =