WordPress stores in the abbreviations of weekday names in weekday_abbrev weekday variable. It is a single dimensional array, indexed by the weekday name and is set in [wordpress root folder]/wp-includes/locale.php. Just like weekday global variable, weekday_abbrev stores localized values.

Plugin and theme developers can use weekday_abbrev to get abbreviation of a specified weekday name.

Back to full list of global variables.

Technorati tags: .

Discussion [Participate or Link]

  1. Wordpress Global Variables | iface thoughts said:

    […] $weekday_abbrev […]

  2. Abhijit Nadgouda’s List of WordPress Global Variables « Lorelle on WordPress said:

    […] month, weekday_abbrev, weekday, monthnum, m (by “moment in time”), and […]

Say your thought!

If you want to use HTML you can use these tags: <a>, <em>, <strong>, <abbr>, <code>, <blockquote>. Closing the tags will be appreciated as this site uses valid XHTML.



Abhijit Nadgouda
iface Consulting
+91 9819820312
My bookmarks


This is the weblog of Abhijit Nadgouda where he writes down his thoughts on software development and related topics. You are invited to subscribe to the feed to stay updated or check out more subscription options. Or you can choose to browse by one of the topics.