WordPress at a glance
function is not described

WP_Locale::get_weekday_initial() public 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.

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

No Hooks.

Return

String. Translated weekday initial.

Usage

$WP_Locale = new WP_Locale();
$WP_Locale->get_weekday_initial( $weekday_name );
$weekday_name(string) (required)
Full translated weekday word.

Changelog

Since 2.1.0 Introduced.

Code of WP_Locale::get_weekday_initial() WP 5.5.1

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