W3cubDocs

/WordPress

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, usually a string.

Parameters

$views

(string[]) An array of available list table views.

Source

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

View on Trac

Changelog

Version Description
3.1.0 Introduced.

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