Handles output for the default column.
Parameters
$item
arrayrequired- Current site.
$column_name
stringrequired- Current column name.
Source
public function column_default( $item, $column_name ) {
// Restores the more descriptive, specific name for use within this method.
$blog = $item;
/**
* Fires for each registered custom column in the Sites list table.
*
* @since 3.1.0
*
* @param string $column_name The name of the column to display.
* @param int $blog_id The site ID.
*/
do_action( 'manage_sites_custom_column', $column_name, $blog['blog_id'] );
}
Hooks
- do_action( ‘manage_sites_custom_column’,
string $column_name ,int $blog_id ) Fires for each registered custom column in the Sites list table.
User Contributed Notes
You must log in before being able to contribute a note or feedback.