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.
Usage
add_action( 'wpmublogsaction', 'wp_kama_wpmublogsaction' ); /** * Function for `wpmublogsaction` action-hook. * * @param int $blog_id The site ID. * * @return void */ function wp_kama_wpmublogsaction( $blog_id ){ // action... }
- $blog_id(int)
- The site ID.
Changelog
Since 3.0.0 | Introduced. |
Where the hook is called
wpmublogsaction
wp-admin/includes/class-wp-ms-sites-list-table.php 585
do_action( 'wpmublogsaction', $blog['blog_id'] );