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

$itemsarray<int|string,public
The current list of items.
$_argsarray<string,protected
Various information about the current table.
$_pagination_argsarray<string,protected
Various information needed for displaying the pagination.
$screenWP_Screenprotected
The current screen.
$_actionsarray<string,private
Cached bulk actions.
$_paginationstringprivate
Cached pagination output.
$modesarray<string,protected
The view switcher modes.
$_column_headersarray<int,protected
Stores the value returned by self::get_column_info().
$compat_fieldsstring[]protected
List of private properties made readable for backward compatibility.
$compat_methodsstring[]protected
List of private/protected methods made readable for backward compatibility.

Methods · 49

Source code

#[AllowDynamicProperties]class WP_List_Table { 	/**	 * The current list of items.	 *	 * @since 3.1.0	 *	 * @var array<int|string, mixed>	 */	public $items; 	/**	 * Various information about the current table.	 *	 * @since 3.1.0	 *	 * @var array<string, mixed>	 */	protected $_args; 	/**	 * Various information needed for displaying the pagination.	 *	 * @since 3.1.0	 *	 * @var array<string, mixed>	 */	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<string, string|array<string, string>>|null	 */	private $_actions; 	/**	 * Cached pagination output.	 *	 * @since 3.1.0	 *	 * @var string	 */	private $_pagination; 	/**	 * The view switcher modes.	 *	 * @since 4.1.0	 *	 * @var array<string, string>	 */	protected $modes = array(); 	/**	 * Stores the value returned by {@see self::get_column_info()}.	 *	 * @since 4.2.0	 *	 * @var array<int, array|string>|null	 */	protected $_column_headers; 	/**	 * List of private properties made readable for backward compatibility.	 *	 * @since 4.2.0	 *

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 7.1.0 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.