Method | Description | |
---|---|---|
__construct ( ) | Main constructor | |
ajax_user_can ( ) : boolean | Return capability used to determine if user can manage networks during an ajax request | |
column_admins ( WP_Network $network ) | Output network admins | |
column_blogs ( WP_Network $network ) | Output network sites | |
column_cb ( WP_Network $network ) | Handles the checkbox column output. | |
column_default ( WP_Network $network, string $column_name ) | Default column | |
column_domain ( WP_Network $network ) | Output network domain | |
column_id ( array $network ) | Handles the ID column output. | |
column_path ( WP_Network $network ) | Output network path | |
column_title ( array $network ) | Handles the network name column output. | |
display_rows ( ) | Display table rows | |
get_bulk_actions ( ) : array | Return array of bulk actions | |
get_columns ( ) : array | Return array of columns | |
get_sortable_columns ( ) : array | Return array of columns that are sortable | |
no_items ( ) | Output message when no networks are found | |
pagination ( type $which ) | Output pagination | |
prepare_items ( ) | Prepare items for querying |
Method | Description | |
---|---|---|
get_default_primary_column_name ( ) : string | Gets the name of the default primary column. | |
get_table_classes ( ) : type | Return all classes for list-table | |
handle_row_actions ( WP_Network $network, string $column_name, string $primary ) : string | Generates and displays row action links. |
Method | Description | |
---|---|---|
can_delete ( WP_Network $network ) : boolean | Can the current user delete this network? |
public ajax_user_can ( ) : boolean | ||
return | boolean |
public column_admins ( WP_Network $network ) | ||
$network | WP_Network |
public column_blogs ( WP_Network $network ) | ||
$network | WP_Network |
public column_cb ( WP_Network $network ) | ||
$network | WP_Network |
public column_default ( WP_Network $network, string $column_name ) | ||
$network | WP_Network | |
$column_name | string |
public column_domain ( WP_Network $network ) | ||
$network | WP_Network |
public column_path ( WP_Network $network ) | ||
$network | WP_Network |
public column_title ( array $network ) | ||
$network | array | Current network. |
public get_bulk_actions ( ) : array | ||
return | array |
protected get_default_primary_column_name ( ) : string | ||
return | string | Name of the default primary column, in this case, 'title'. |
public get_sortable_columns ( ) : array | ||
return | array |
protected get_table_classes ( ) : type | ||
return | type |