W3cubDocs

/WordPress

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

$actions

(string[]) An array of action links.

$theme

(WP_Theme) The current WP_Theme object.

$context

(string) Status of the theme, one of 'all', 'enabled', or 'disabled'.

Source

File: wp-admin/includes/class-wp-ms-themes-list-table.php

View on Trac

Changelog

Version Description
3.1.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/theme_action_links_stylesheet