WP_Screen::get_screen_reader_text() – Get a screen reader text string.

You appear to be a bot. Output may be restricted

Description

Get a screen reader text string.

Usage

$string = WP_Screen::get_screen_reader_text( $key );

Parameters

$key
( string ) required – Screen reader text array named key.

Returns

string Screen reader text string.

Source

File name: wordpress/wp-admin/includes/class-wp-screen.php
Lines:

1 to 6 of 6
  public function get_screen_reader_text( $key ) {
    if ( ! isset( $this->_screen_reader_content[ $key ] ) ) {
      return null;
    }
    return $this->_screen_reader_content[ $key ];
  }
 

 View on GitHub View on Trac