WP_Screen::set_screen_reader_content

Advertisement

Summery Summery

Add accessible hidden headings and text for the screen.

Syntax Syntax

WP_Screen::set_screen_reader_content( array $content = array() )

Parameters Parameters

$content

(array) (Optional) An associative array of screen reader text strings.

  • 'heading_views'
    (string) Screen reader text for the filter links heading. Default 'Filter items list'.
  • 'heading_pagination'
    (string) Screen reader text for the pagination heading. Default 'Items list navigation'.
  • 'heading_list'
    (string) Screen reader text for the items list heading. Default 'Items list'.

Default value: array()

Source Source

File: wp-admin/includes/class-wp-screen.php


			

Advertisement

Changelog Changelog

Changelog
Version Description
4.4.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.