Action hook 'wpmublogsaction'

in WP Core File wp-admin/includes/class-wp-ms-sites-list-table.php at line 585

View Source

wpmublogsaction

Action Hook
Description
Fires inside the auxiliary 'Actions' column of the Sites list table. By default this column is hidden unless something is hooked to the action.

Hook Information

File Location wp-admin/includes/class-wp-ms-sites-list-table.php View on GitHub
Hook Type Action
Line Number 585

Hook Parameters

Type Name Description
int $blog_id The site ID.

Usage Examples

Basic Usage
<?php
// Hook into wpmublogsaction
add_action('wpmublogsaction', 'my_custom_function', 10, 1);

function my_custom_function($blog_id) {
    // Your custom code here
}

Source Code Context

wp-admin/includes/class-wp-ms-sites-list-table.php:585 - How this hook is used in WordPress core
<?php
 580  			 *
 581  			 * @since MU (3.0.0)
 582  			 *
 583  			 * @param int $blog_id The site ID.
 584  			 */
 585  			do_action( 'wpmublogsaction', $blog['blog_id'] );
 586  		}
 587  	}
 588  
 589  	/**
 590  	 * Handles output for the default column.

PHP Documentation

<?php
/**
			 * 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.
			 */
Quick Info
  • Hook Type: Action
  • Parameters: 1
  • File: wp-admin/includes/class-wp-ms-sites-list-table.php
Related Hooks

Related hooks will be displayed here in future updates.