manage_sites_custom_column WordPress Action Hook

The manage_sites_custom_column action hook is called for each custom column in the manage sites list table. This hook allows you to add custom content to the table for each site. The first parameter is the column name, and the second parameter is the site ID. You can use this hook to add custom content to any of the columns in the manage sites list table.

do_action( 'manage_sites_custom_column', string $column_name, int $blog_id ) #

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


Parameters

$column_name

(string)The name of the column to display.

$blog_id

(int)The site ID.


Top ↑

Source

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

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
3.1.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.