Summery Summery
Retrieve translated version of month abbreviation string.
Syntax Syntax
Description Description
The $month_name parameter is expected to be the translated or translatable version of the month.
Parameters Parameters
- $month_name
-
(Required) Translated month to get abbreviated version.
Return Return
(string) Translated abbreviated month.
Source Source
File: wp-includes/class-wp-locale.php
public function get_month_abbrev( $month_name ) {
return $this->month_abbrev[ $month_name ];
}
Advertisement
Changelog Changelog
| Version | Description |
|---|---|
| 2.1.0 | Introduced. |