WP_Locale::get_month_abbrev()publicWP 2.1.0

Retrieves translated version of month abbreviation string.

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

Метод класса: WP_Locale{}

Хуков нет.


Строку. Translated abbreviated month.


global $wp_locale;
$wp_locale->get_month_abbrev( $month_name );
$month_name(строка) (обязательный)
Translated month to get abbreviated version.

Список изменений

С версии 2.1.0 Введена.

Код WP_Locale::get_month_abbrev() WP 6.5.3

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