WordPress at Your Fingertips
function is not described

WP_Screen::get_screen_reader_text() public WP 4.4.0

Get a screen reader text string.

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

No Hooks.

Return

String. Screen reader text string.

Usage

$WP_Screen = new WP_Screen();
$WP_Screen->get_screen_reader_text( $key );
$key(string) (required)
Screen reader text array named key.

Changelog

Since 4.4.0 Introduced.

Code of WP_Screen::get_screen_reader_text() WP 5.8.2

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