WordPress at Your Fingertips
function is not described

WP_Locale::get_month_abbrev() public WP 2.1.0

Retrieve translated version of month abbreviation string.

The $month_name parameter is expected to be the translated or translatable version of the month.

{} It's a method of the class: WP_Locale{}

No Hooks.


String. Translated abbreviated month.


global $wp_locale;
$wp_locale->get_month_abbrev( $month_name );
$month_name(string) (required)
Translated month to get abbreviated version.

Code of WP_Locale::get_month_abbrev() WP 5.8.3

public function get_month_abbrev( $month_name ) {
	return $this->month_abbrev[ $month_name ];