WP_MS_Themes_List_Table::column_default()publicWP 4.3.0

Handles default column output.

Method of the class: WP_MS_Themes_List_Table{}

Hooks from the method

Return

null. Nothing (null).

Usage

$WP_MS_Themes_List_Table = new WP_MS_Themes_List_Table();
$WP_MS_Themes_List_Table->column_default( $item, $column_name );
$item(WP_Theme) (required)
The current WP_Theme object.
$column_name(string) (required)
The current column name.

Changelog

Since 4.3.0 Introduced.
Since 5.9.0 Renamed $theme to $item to match parent class for PHP 8 named parameter support.

WP_MS_Themes_List_Table::column_default() code WP 6.5.2

public function column_default( $item, $column_name ) {
	// Restores the more descriptive, specific name for use within this method.
	$theme = $item;

	$stylesheet = $theme->get_stylesheet();

	/**
	 * Fires inside each custom column of the Multisite themes list table.
	 *
	 * @since 3.1.0
	 *
	 * @param string   $column_name Name of the column.
	 * @param string   $stylesheet  Directory name of the theme.
	 * @param WP_Theme $theme       Current WP_Theme object.
	 */
	do_action( 'manage_themes_custom_column', $column_name, $stylesheet, $theme );
}