WP_Screen::get_screen_reader_text

Advertisement

Summery Summery

Get a screen reader text string.

Syntax Syntax

WP_Screen::get_screen_reader_text( string $key )

Parameters Parameters

$key

(Required) Screen reader text array named key.

Return Return

(string) Screen reader text string.

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

Advertisement

Changelog Changelog

Changelog
Version Description
4.4.0 Introduced.

Advertisement

Leave a Reply