wppaste
WordPress

WP_List_Table

Since
3.1.0
Source
wp-admin/includes/class-wp-list-table.php:15
Base class for displaying a list of items in an ajaxified HTML table.

Compatibility

WordPress
since 3.1.0
  • 6.7.7
  • 6.8.8
  • 6.9.7
  • 7.0.4
  • 7.1.0

Present in every tracked release (6.7.7 to 7.1.0).

Hooks and filters fired · 8

Every hook that fires from inside WP_List_Table, in the order it appears in the class, grouped by the method that fires it.

Properties · 10

$itemsarraypublic
The current list of items.
$_argsarrayprotected
Various information about the current table.
$_pagination_argsarrayprotected
Various information needed for displaying the pagination.
$screenWP_Screenprotected
The current screen.
$_actionsarrayprivate
Cached bulk actions.
$_paginationstringprivate
Cached pagination output.
$modesarrayprotected
The view switcher modes.
$_column_headersarrayprotected
Stores the value returned by ->get_column_info().
$compat_fieldsarrayprotected
$compat_methodsarrayprotected

Methods · 48

Source code

#[AllowDynamicProperties]class WP_List_Table { 	/**	 * The current list of items.	 *	 * @since 3.1.0	 * @var array	 */	public $items; 	/**	 * Various information about the current table.	 *	 * @since 3.1.0	 * @var array	 */	protected $_args; 	/**	 * Various information needed for displaying the pagination.	 *	 * @since 3.1.0	 * @var array	 */	protected $_pagination_args = array(); 	/**	 * The current screen.	 *	 * @since 3.1.0	 * @var WP_Screen	 */	protected $screen; 	/**	 * Cached bulk actions.	 *	 * @since 3.1.0	 * @var array	 */	private $_actions; 	/**	 * Cached pagination output.	 *	 * @since 3.1.0	 * @var string	 */	private $_pagination; 	/**	 * The view switcher modes.	 *	 * @since 4.1.0	 * @var array	 */	protected $modes = array(); 	/**	 * Stores the value returned by ->get_column_info().	 *	 * @since 4.1.0	 * @var array	 */	protected $_column_headers; 	/**	 * {@internal Missing Summary}	 *	 * @var array	 */	protected $compat_fields = array( '_args', '_pagination_args', 'screen', '_actions', '_pagination' ); 	/**	 * {@internal Missing Summary}	 *	 * @var array	 */	protected $compat_methods = array(

Changelog

Introduced in 3.1.0. One change between 6.7.7 and 7.1.0.

  1. 6.7.7
  2. 6.8.8
  3. 6.9.7
  4. 7.0.4
  5. 7.1.0

Signature, return type and hooks compared across 5 parsed releases.

7.1.0
Method get_primary_column_aria_label() added.verified against source
3.1.0
Introduced.from the docblock

About this page

Parsed data
Generated from the wordpress-develop 6.7.7 tag, from src/wp-admin/includes/class-wp-list-table.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.