WPDev.one
Core Function
View Source on Trac ↗

_get_list_table()

_get_list_table( mixed $class_name, mixed $args = array() )

Fetches an instance of a WP_List_Table class.

Parameters 1 required

Name / Type Description
$class_name
string

The type of the list table, which is the class name.

Required
$args
array

Optional. Arguments to pass to the class. Accepts 'screen'.

Return Value

((WP_List_Table)
| false) List table object on success, false if the class does not exist.

Function Information

Since Version
3.1.0
Source File
wp-admin/includes/list-table.php
Advertisement