WordPress at a glance
filter is not described

theme_action_links_(stylesheet) filter-hook . WP 3.1.0

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.


add_filter( 'theme_action_links_(stylesheet)', 'filter_function_name_9870', 10, 3 );
function filter_function_name_9870( $actions, $theme, $context ){
	// filter...

	return $actions;
An array of action links.
The current WP_Theme object.
Status of the theme, one of 'all', 'enabled', or 'disabled'.

Список изменений

С версии 3.1.0 Введена.

Где вызывается хук

wp-admin/includes/class-wp-ms-themes-list-table.php 671
$actions = apply_filters( "theme_action_links_{$stylesheet}", $actions, $theme, $context );
wp-admin/includes/class-wp-themes-list-table.php 241
$actions       = apply_filters( "theme_action_links_{$stylesheet}", $actions, $theme, 'all' );

Где используется хук в ядре WP

Использование не найдено.