theme_action_links_{$stylesheet} WordPress Action Hook
The theme_action_links_{$stylesheet} allows you to add additional action links to the theme. These links can be used to perform various actions such as installing or activating a theme.
apply_filters( "theme_action_links_{$stylesheet}", string[] $actions , WP_Theme $theme , string $context ) #
Filters the action links of a specific theme in the Multisite themes list table.
Description
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.
Parameters
Source
Changelog
Version | Description |
---|---|
3.1.0 | Introduced. |