wordpress / latest / hooks / views_this-screen-id.html

apply_filters( "views_{$this->screen->id}", string[] $views )

Filters the list of available list table views.

Description

The dynamic portion of the hook name, $this->screen->id, refers to the ID of the current screen.

Parameters

$views string[]
An array of available list table views.

Source

File: wp-admin/includes/class-wp-list-table.php. View all references

$views = apply_filters( "views_{$this->screen->id}", $views );

Used By

Used By Description

Changelog

Version Description
3.1.0 Introduced.

© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/views_this-screen-id