WP_Locale::get_weekday_abbrev( string $weekday_name ): string

Retrieves the translated weekday abbreviation.

Description

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

Parameters

$weekday_namestringrequired
Full translated weekday word.

Return

string Translated weekday abbreviation.

Source

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

Changelog

VersionDescription
2.1.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.