WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru Купить персональные IPV4 и IPV6 прокси
фильтр не описан

theme_action_links хук-фильтр . WP 2.8.0

Filters the action links displayed for each theme in the Multisite themes list table.

The action links displayed are determined by the theme's status, and which Multisite themes list table is being displayed - the Network themes list table (themes.php), which displays all installed themes, or the Site themes list table (site-themes.php), which displays the non-network enabled themes when editing a site in the Network admin.

The default action links for the Network themes list table include 'Network Enable', 'Network Disable', and 'Delete'.

The default action links for the Site themes list table include 'Enable', and 'Disable'.

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

add_filter( 'theme_action_links', 'filter_function_name_6198', 10, 3 );
function filter_function_name_6198( $actions, $theme, $context ){
	// filter...

	return $actions;
}
$actions(строка[])
An array of action links.
$theme(WP_Theme)
The current WP_Theme object.
$context(строка)
Status of the theme, one of 'all', 'enabled', or 'disabled'.

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

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

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

WP_MS_Themes_List_Table::column_name()
theme_action_links
WP_Themes_List_Table::display_rows()
theme_action_links
wp-admin/includes/class-wp-ms-themes-list-table.php 518
$actions = apply_filters( 'theme_action_links', array_filter( $actions ), $theme, $context );
wp-admin/includes/class-wp-themes-list-table.php 204
$actions = apply_filters( 'theme_action_links', $actions, $theme, 'all' );

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

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