apply_filters( 'manage_sites_action_links', array $actions, int $blog_id, string $blogname )

Filters the action links displayed for each site in the Sites list table.


Description

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.


Parameters

$actions

An array of action links to be displayed.

$blog_id

The site ID.

$blogname

Site path, formatted depending on whether it is a sub-domain or subdirectory multisite installation.


Source

File: wp-admin/includes/class-wp-ms-sites-list-table.php

View on GitHub



Changelog

Changelog
Version Description
WP-3.1.0 Introduced.