wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



theme_action_links_{$stylesheet} › Hooks de Filtros WordPress

Desde3.1.0
Obsoleton/a
apply_filters( "theme_action_links_{$stylesheet}", $actions, $theme, $context )
Parâmetros: (3)
  • (string[]) $actions An array of action links.
    Required: Yes
  • (WP_Theme) $theme The current WP_Theme object.
    Required: Yes
  • (string) $context Status of the theme, one of 'all', 'enabled', or 'disabled'.
    Required: Yes
Definido em:
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.





Fonte

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