wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



theme_action_links_{$stylesheet} › Les Filtres WordPress

Depuis3.1.0
Dépréciéen/a
apply_filters( "theme_action_links_{$stylesheet}", $actions, $theme, $context )
Paramètres: (3)
  • (string[]) $actions An array of action links.
    Requis: Oui
  • (WP_Theme) $theme The current WP_Theme object.
    Requis: Oui
  • (string) $context Status of the theme, one of 'all', 'enabled', or 'disabled'.
    Requis: Oui
Défini(e) dans:
Codex:

Filters the action links of a specific theme in the Multisite themes list table.

The dynamic portion of the hook name, $stylesheet, refers to the directory name of the theme, which in most cases is synonymous with the template name.





Source

$actions = apply_filters( "theme_action_links_{$stylesheet}", $actions, $theme, $context );