Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

wordpress widget current year

function year_shortcode () {
$year = date_i18n ('Y');
return $year;
}
add_shortcode ('year', 'year_shortcode');
Source by divimundo.com #
 
PREVIOUS NEXT
Tagged: #wordpress #widget #current #year
ADD COMMENT
Topic
Name
1+2 =