Retrieves the translated weekday abbreviation.
The weekday abbreviation is retrieved by the translated full weekday word.
$weekday_namestringrequired
public function get_weekday_abbrev( $weekday_name ) {
return $this->weekday_abbrev[ $weekday_name ];
}
| Version | Description |
|---|---|
| 2.1.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_locale/get_weekday_abbrev