WP_Locale::get_weekday_abbrev( string $weekday_name )

Retrieve the translated weekday abbreviation.


Description Description

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


Top ↑

Parameters Parameters

$weekday_name

(string) (Required) Full translated weekday word.


Top ↑

Return Return

(string) Translated weekday abbreviation.


Top ↑

Source Source

File: wp-includes/class-wp-locale.php

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


Top ↑

Changelog Changelog

Changelog
Version Description
2.1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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