WP_Screen::get_screen_reader_content()publicWP 4.4.0

Gets the accessible hidden headings and text used in the screen.

Method of the class: WP_Screen{}

No Hooks.

Return

String[]. An associative array of screen reader text strings.

Usage

$WP_Screen = new WP_Screen();
$WP_Screen->get_screen_reader_content();

Notes

  • See: set_screen_reader_content() For more information on the array format.

Changelog

Since 4.4.0 Introduced.

WP_Screen::get_screen_reader_content() code WP 6.5.4

public function get_screen_reader_content() {
	return $this->_screen_reader_content;
}