WP_Screen::remove_screen_reader_content()publicWP 4.4.0

Removes all the accessible hidden headings and text for the screen.

Method of the class: WP_Screen{}

No Hooks.

Return

null. Nothing (null).

Usage

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

Changelog

Since 4.4.0 Introduced.

WP_Screen::remove_screen_reader_content() code WP 6.5.2

public function remove_screen_reader_content() {
	$this->_screen_reader_content = array();
}