Used By
Used By | Description |
---|---|
wp-includes/functions.php: wp_date() | Retrieves the date, in localized format. |
wp-includes/general-template.php: get_calendar() | Display calendar with days that have posts as links. |
Retrieve the translated weekday abbreviation.
The weekday abbreviation is retrieved by the translated full weekday word.
(string) (Required) Full translated weekday word.
(string) Translated weekday abbreviation.
File: wp-includes/class-wp-locale.php
public function get_weekday_abbrev( $weekday_name ) { return $this->weekday_abbrev[ $weekday_name ]; }
Version | Description |
---|---|
2.1.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_locale/get_weekday_abbrev