W3cubDocs

/WordPress

WP_MS_Sites_List_Table::column_default( array $blog, string $column_name )

Handles output for the default column.

Parameters

$blog

(array) (Required) Current site.

$column_name

(string) (Required) Current column name.

Source

File: wp-admin/includes/class-wp-ms-sites-list-table.php

public function column_default( $blog, $column_name ) {
		/**
		 * 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'] );
	}

Changelog

Version Description
4.3.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_ms_sites_list_table/column_default