manage_sites_custom_column action-hookWP 3.1.0

Fires for each registered custom column in the Sites list table.

Usage

add_action( 'manage_sites_custom_column', 'wp_kama_manage_sites_custom_column_action', 10, 2 );

/**
 * Function for `manage_sites_custom_column` action-hook.
 * 
 * @param string $column_name The name of the column to display.
 * @param int    $blog_id     The site ID.
 *
 * @return void
 */
function wp_kama_manage_sites_custom_column_action( $column_name, $blog_id ){

	// action...
}
$column_name(string)
The name of the column to display.
$blog_id(int)
The site ID.

Changelog

Since 3.1.0 Introduced.

Where the hook is called

WP_MS_Sites_List_Table::column_default()
manage_sites_custom_column
wp-admin/includes/class-wp-ms-sites-list-table.php 610
do_action( 'manage_sites_custom_column', $column_name, $blog['blog_id'] );

Where the hook is used in WordPress

Usage not found.