WordPress at a glance
function is not described

WP_Locale::get_weekday_abbrev() public WP 2.1.0

Retrieve the translated weekday abbreviation.

The weekday abbreviation is retrieved by the translated full weekday word.

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

No Hooks.


String. Translated weekday abbreviation.


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


Since 2.1.0 Introduced.

Code of WP_Locale::get_weekday_abbrev() WP 5.5.1

public function get_weekday_abbrev( $weekday_name ) {
	return $this->weekday_abbrev[ $weekday_name ];