Filter hook 'manage_sites_action_links'
in WP Core File wp-admin/includes/class-wp-ms-sites-list-table.php at line 857
Description
Filters the action links displayed for each site in the Sites list table. The 'Edit', 'Dashboard', 'Delete', and 'Visit' links are displayed by default for each site. The site's status determines whether to show the 'Activate' or 'Deactivate' link, 'Unarchive' or 'Archive' links, and 'Not Spam' or 'Spam' link for each site.
Occurrences
Filename |
Line Number |
wp-admin/includes/class-wp-ms-sites-list-table.php |
857 |
Parameters
Type |
Name |
Description |
string[] |
$actions |
An array of action links to be displayed. |
int |
$blog_id |
The site ID. |
string |
$blogname |
Site path, formatted depending on whether it is a sub-domain or subdirectory multisite installation. |
PHP Doc
/**
* Filters the action links displayed for each site in the Sites list table.
*
* The 'Edit', 'Dashboard', 'Delete', and 'Visit' links are displayed by
* default for each site. The site's status determines whether to show the
* 'Activate' or 'Deactivate' link, 'Unarchive' or 'Archive' links, and
* 'Not Spam' or 'Spam' link for each site.
*
* @since 3.1.0
*
* @param string[] $actions An array of action links to be displayed.
* @param int $blog_id The site ID.
* @param string $blogname Site path, formatted depending on whether it is a sub-domain
* or subdirectory multisite installation.
*/