WP_MS_Sites_List_Table
- Since
- 3.1.0
- Source
wp-admin/includes/class-wp-ms-sites-list-table.php:17
Core class used to implement displaying sites in a list table for the network admin.
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_MS_Sites_List_Table, in the order it appears in the class, grouped by the method that fires it.
WP_MS_Sites_List_Table::prepare_items()
- apply_filters( ms_sites_list_table_query_args )filter line 184
WP_MS_Sites_List_Table::extra_tablenav()
- do_action( restrict_manage_sites )action line 353
- do_action( manage_sites_extra_tablenav )action line 373
Properties · 1
$status_listarraypublic- Site status list.
Methods · 23
- __construct()Constructor.
- ajax_user_can()Checks if the current user has permissions to manage sites.
- prepare_items()Prepares the list of sites for display.
- no_items()Displays a message when no sites are found.
- get_views()Gets links to filter sites by status.
- get_bulk_actions()Gets an associative array of bulk actions for this table.
- pagination()Displays the pagination.
- extra_tablenav()Displays extra controls between bulk actions and pagination.
- get_columns()Gets an array of column titles keyed by their column name.
- get_sortable_columns()Gets an array of sortable columns.
- column_cb()Handles the checkbox column output.
- column_id()Handles the ID column output.
- column_blogname()Handles the site name column output.
- column_lastupdated()Handles the lastupdated column output.
- column_registered()Handles the registered column output.
- column_users()Handles the users column output.
- column_plugins()Handles the plugins column output.
- column_default()Handles output for the default column.
- display_rows()Generates the list table rows.
- site_states()Determines whether to output comma-separated site states.
- get_default_primary_column_name()Gets the name of the default primary column.
- handle_row_actions()Generates and displays row action links.
- get_primary_column_aria_label()Returns a clean label for the primary (URL) column's row header `aria-label`.
Changelog
Introduced in 3.1.0. One change between 6.7.7 and 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 source3.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-ms-sites-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.