manage_sites_extra_tablenav
Action HookDescription
Fires immediately following the closing "actions" div in the tablenav for the MS sites list table.Hook Information
File Location |
wp-admin/includes/class-wp-ms-sites-list-table.php
View on GitHub
|
Hook Type | Action |
Line Number | 358 |
Hook Parameters
Type | Name | Description |
---|---|---|
string
|
$which
|
The location of the extra table nav markup: Either 'top' or 'bottom'. |
Usage Examples
Basic Usage
<?php
// Hook into manage_sites_extra_tablenav
add_action('manage_sites_extra_tablenav', 'my_custom_function', 10, 1);
function my_custom_function($which) {
// Your custom code here
}
Source Code Context
wp-admin/includes/class-wp-ms-sites-list-table.php:358
- How this hook is used in WordPress core
<?php
353 *
354 * @since 5.3.0
355 *
356 * @param string $which The location of the extra table nav markup: Either 'top' or 'bottom'.
357 */
358 do_action( 'manage_sites_extra_tablenav', $which );
359 }
360
361 /**
362 * @return string[] Array of column titles keyed by their column name.
363 */
PHP Documentation
<?php
/**
* Fires immediately following the closing "actions" div in the tablenav for the
* MS sites list table.
*
* @since 5.3.0
*
* @param string $which The location of the extra table nav markup: Either 'top' or 'bottom'.
*/
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.