WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

WP_Locale::get_weekday_initial() WP 2.1.0

Retrieve the translated weekday initial.

The weekday initial is retrieved by the translated full weekday word. When translating the weekday initial pay attention to make sure that the starting letter does not conflict.

Это метод класса: WP_Locale

Хуков нет.

Возвращает

Строку. Translated weekday initial.

Использование

$WP_Locale = new WP_Locale();
$var = $WP_Locale->get_weekday_initial( $weekday_name );
$weekday_name(строка) (обязательный)
Full translated weekday word.

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

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

Код WP Locale::get weekday initial: wp-includes/class-wp-locale.php WP 5.2.2

<?php
public function get_weekday_initial( $weekday_name ) {
	return $this->weekday_initial[ $weekday_name ];
}