restrict_manage_sites action-hookWP 5.3.0

Fires before the Filter button on the MS sites list table.

Usage

add_action( 'restrict_manage_sites', 'wp_kama_restrict_manage_sites_action' );

/**
 * Function for `restrict_manage_sites` action-hook.
 * 
 * @param string $which The location of the extra table nav markup: 'top' or 'bottom'.
 *
 * @return void
 */
function wp_kama_restrict_manage_sites_action( $which ){

	// action...
}
$which(string)
The location of the extra table nav markup: 'top' or 'bottom'.

Changelog

Since 5.3.0 Introduced.

Where the hook is called

WP_MS_Sites_List_Table::extra_tablenav()
restrict_manage_sites
wp-admin/includes/class-wp-ms-sites-list-table.php 338
do_action( 'restrict_manage_sites', $which );

Where the hook is used in WordPress

Usage not found.