Summery Summery
Retrieve the translated weekday initial.
Syntax Syntax
Description Description
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.
Parameters Parameters
- $weekday_name
-
(Required) Full translated weekday word.
Return Return
(string) Translated weekday initial.
Source Source
File: wp-includes/class-wp-locale.php
public function get_weekday_initial( $weekday_name ) { return $this->weekday_initial[ $weekday_name ]; }
Advertisement
Changelog Changelog
Version | Description |
---|---|
2.1.0 | Introduced. |