Get a screen reader text string.
(string) (Required) Screen reader text array named key.
(string) Screen reader text string.
File: wp-admin/includes/class-wp-screen.php
public function get_screen_reader_text( $key ) { if ( ! isset( $this->_screen_reader_content[ $key ] ) ) { return null; } return $this->_screen_reader_content[ $key ]; }
Version | Description |
---|---|
4.4.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_screen/get_screen_reader_text