WordPress开发者和主题制作者的搜索引擎



manage_sites_action_links ›

Since3.1.0
已弃用n/a
apply_filters( 'manage_sites_action_links', array_filter( $actions )
参数: (3)
  • (string[]) $actions An array of action links to be displayed.
    Required: Yes
  • (int) $blog_id The site ID.
    Required: Yes
  • (string) $blogname Site path, formatted depending on whether it is a sub-domain or subdirectory multisite installation.
    Required: Yes
定义在:
文档:

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.





源码

$actions = apply_filters( 'manage_sites_action_links', array_filter( $actions ), $blog['blog_id'], $blogname );