WP_Screen::get_screen_reader_text( string $key ): string

In this article

Gets a screen reader text string.

Parameters

$keystringrequired
Screen reader text array named key.

Return

string Screen reader text string.

Source

public function get_screen_reader_text( $key ) {
	if ( ! isset( $this->_screen_reader_content[ $key ] ) ) {
		return null;
	}
	return $this->_screen_reader_content[ $key ];
}

Changelog

VersionDescription
4.4.0Introduced.

User Contributed Notes

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