WP_Locale::get_month_abbrev( string $month_name )

Retrieve translated version of month abbreviation string.


Description Description

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


Parameters Parameters

$month_name

(string) (Required) Translated month to get abbreviated version.


Top ↑

Return Return

(string) Translated abbreviated month.


Top ↑

Source Source

File: wp-includes/class-wp-locale.php

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

Top ↑

Changelog Changelog

Changelog
Version Description
2.1.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.