WP_Screen::set_screen_reader_content() – Add accessible hidden headings and text for the screen.
You appear to be a bot. Output may be restricted
Description
Adds accessible hidden headings and text for the screen.
Usage
WP_Screen::set_screen_reader_content( $content );
Parameters
- $content
- ( array ) optional – { An associative array of screen reader text strings.
- $heading_views
- ( string ) optional – Screen reader text for the filter links heading. Default 'Filter items list'.
- $heading_pagination
- ( string ) optional – Screen reader text for the pagination heading. Default 'Items list navigation'.
- $heading_list
- ( string ) optional – Screen reader text for the items list heading. Default 'Items list'. }
Returns
void
Source
File name: wordpress/wp-admin/includes/class-wp-screen.php
Lines:
1 to 10 of 10
public function set_screen_reader_content( $content = array() ) { $defaults = array( 'heading_views' => __( 'Filter items list' ), 'heading_pagination' => __( 'Items list navigation' ), 'heading_list' => __( 'Items list' ), ); $content = wp_parse_args( $content, $defaults ); $this->_screen_reader_content = $content; }