apply_filters( "theme_action_links_{$stylesheet}", string[] $actions, WP_Theme $theme, string $context )
- Since
- 3.1.0
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.
Compatibility
- WordPress
- since 3.1.0
- 6.7.7
- 6.8.8
- 6.9.7
- 7.0.4
- 7.1.0
Present in every tracked release (6.7.7 to 7.1.0).
Parameters
$actionsstring[]- An array of action links.
$themeWP_Theme- The current WP_Theme object.
$contextstring- Status of the theme, one of 'all', 'enabled', or 'disabled'.
Where this hook fires · 2
wp-admin/includes/class-wp-ms-themes-list-table.php:703WP_MS_Themes_List_Table::column_name()wp-admin/includes/class-wp-themes-list-table.php:243WP_Themes_List_Table::display_rows()
Source code
* @since 3.1.0 * * @param string[] $actions An array of action links. * @param WP_Theme $theme The current WP_Theme object. * @param string $context Status of the theme, one of 'all', 'enabled', or 'disabled'. */ $actions = apply_filters( "theme_action_links_{$stylesheet}", $actions, $theme, $context ); echo $this->row_actions( $actions, true ); } /** * Handles the description column output.Changelog
Introduced in 3.1.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 7.1.0 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
- Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.