Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

year shortcode wordpress

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