W3cubDocs

/WordPress

WP_Screen::remove_screen_reader_content()

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

Source

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

Changelog

Version Description
4.4.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_screen/remove_screen_reader_content