WP_Screen::get_screen_reader_text( string $key )

Get a screen reader text string.


Parameters Parameters

$key

(string) (Required) Screen reader text array named key.


Top ↑

Return Return

(string) Screen reader text string.


Top ↑

Source Source

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 ];
	}

Top ↑

Changelog Changelog

Changelog
Version Description
4.4.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.