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(); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
4.4.0 | Introduced. |