WP_Locale::get_weekday_initial

SummerySummery

Retrieve the translated weekday initial.

Syntax

WP_Locale::get_weekday_initial( string $weekday_name )

DescriptionDescription

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.

ParametersParameters

$weekday_name

(string) (Required) Full translated weekday word.

ReturnReturn

(string) Translated weekday initial.

SourceSource

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


			

ChangelogChangelog

Changelog
Version Description
2.1.0 Introduced.
Scroll to Top