wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



manage_sites_action_links › WordPress Filter Hooks

Da3.1.0
Deprecaton/a
apply_filters( 'manage_sites_action_links', array_filter( $actions )
Parametri: (3)
  • (string[]) $actions An array of action links to be displayed.
    Richiesto:
  • (int) $blog_id The site ID.
    Richiesto:
  • (string) $blogname Site path, formatted depending on whether it is a sub-domain or subdirectory multisite installation.
    Richiesto:
Definito a:
Codex:

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.





Sorgenti

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