| [ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Source view] [Print] [Project Stats]
List Table API: WP_MS_Themes_List_Table class
| File Size: | 1066 lines (30 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
WP_MS_Themes_List_Table:: (20 methods):
__construct()
get_table_classes()
ajax_user_can()
prepare_items()
_search_callback()
_order_callback()
no_items()
get_columns()
get_sortable_columns()
get_primary_column_name()
get_views()
get_bulk_actions()
display_rows()
column_cb()
column_name()
column_description()
column_autoupdates()
column_default()
single_row_columns()
single_row()
Class: WP_MS_Themes_List_Table - X-Ref
Core class used to implement displaying themes in a list table for the network admin.| __construct( $args = array() X-Ref |
| Constructor. param: array $args An associative array of arguments. |
| get_table_classes() X-Ref |
| Gets the list of CSS classes for the table tag. return: string[] The list of CSS classes. |
| ajax_user_can() X-Ref |
| Checks if the current user has permissions to perform AJAX actions. return: bool True if the current user has permissions, false otherwise. |
| prepare_items() X-Ref |
| Prepares the themes list for display. |
| _search_callback( $theme ) X-Ref |
| Filters a theme by the search term. param: WP_Theme $theme The WP_Theme object to check. return: bool True if the theme matches the search term, false otherwise. |
| _order_callback( $theme_a, $theme_b ) X-Ref |
| Compares the order of two themes by a specific field. param: WP_Theme $theme_a The first theme to compare. param: WP_Theme $theme_b The second theme to compare. return: int 0 if equal, -1 if the first is less than the second, 1 if more. |
| no_items() X-Ref |
| Displays the message when there are no items to list. |
| get_columns() X-Ref |
| Gets the list of columns for the list table. return: array<string, string> Array of column titles keyed by their column name. |
| get_sortable_columns() X-Ref |
| Gets the list of sortable columns for the list table. return: array<string, array<int, mixed>> An array of sortable columns. |
| get_primary_column_name() X-Ref |
| Gets the name of the primary column. return: string Unalterable name of the primary column name, in this case, 'name'. |
| get_views() X-Ref |
| Gets the list of views (statuses) for the list table. return: array<string, string> The list of views. |
| get_bulk_actions() X-Ref |
| Gets the list of bulk actions for the list table. return: array<string, string> The list of bulk actions. |
| display_rows() X-Ref |
| Generates the list table rows. |
| column_cb( $item ) X-Ref |
| Handles the checkbox column output. param: WP_Theme $item The current WP_Theme object. |
| column_name( $theme ) X-Ref |
| Handles the name column output. param: WP_Theme $theme The current WP_Theme object. |
| column_description( $theme ) X-Ref |
| Handles the description column output. param: WP_Theme $theme The current WP_Theme object. |
| column_autoupdates( $theme ) X-Ref |
| Handles the auto-updates column output. param: WP_Theme $theme The current WP_Theme object. |
| column_default( $item, $column_name ) X-Ref |
| Handles default column output. param: WP_Theme $item The current WP_Theme object. param: string $column_name The current column name. |
| single_row_columns( $item ) X-Ref |
| Handles the output for a single table row. param: WP_Theme $item The current WP_Theme object. |
| single_row( $theme ) X-Ref |
| Handles the output for a single table row. param: WP_Theme $theme The current WP_Theme object. |
| Generated : Tue May 5 08:20:14 2026 | Cross-referenced by PHPXref |