wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



theme_action_links_{$stylesheet} › WordPress Filter Hooks

Seit3.1.0
Veraltetn/v
apply_filters( "theme_action_links_{$stylesheet}", $actions, $theme, $context )
Parameter: (3)
  • (string[]) $actions An array of action links.
    Erforderlich: Ja
  • (WP_Theme) $theme The current WP_Theme object.
    Erforderlich: Ja
  • (string) $context Status of the theme, one of 'all', 'enabled', or 'disabled'.
    Erforderlich: Ja
Definiert in:
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.





Quellcode

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