WP_Screen::remove_screen_reader_content() WordPress Method

The WP_Screen::remove_screen_reader_content() function is used to remove screen reader content from a WP_Screen object. This function is useful in situations where the content being displayed is not suitable for screen reader users.

WP_Screen::remove_screen_reader_content() #

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


Source

File: wp-admin/includes/class-wp-screen.php

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

Top ↑

Changelog

Changelog
VersionDescription
4.4.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.