W3cubDocs

/WordPress

WP_MS_Sites_List_Table::column_plugins( array $blog )

Handles the plugins column output.

Parameters

$blogarrayrequired
Current site.

Source

public function column_plugins( $blog ) {
	if ( has_filter( 'wpmublogsaction' ) ) {
		/**
		 * Fires inside the auxiliary 'Actions' column of the Sites list table.
		 *
		 * By default this column is hidden unless something is hooked to the action.
		 *
		 * @since MU (3.0.0)
		 *
		 * @param int $blog_id The site ID.
		 */
		do_action( 'wpmublogsaction', $blog['blog_id'] );
	}
}

Hooks

do_action( ‘wpmublogsaction’, int $blog_id )

Fires inside the auxiliary ‘Actions’ column of the Sites list table.

Changelog

Version Description
4.3.0 Introduced.

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