theme_auto_update_setting_template хук-фильтрWP 5.5.0

Filters the JavaScript template used to display the auto-update setting for a theme (in the overlay).

See wp_prepare_themes_for_js() for the properties of the data object.

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

add_filter( 'theme_auto_update_setting_template', 'wp_kama_theme_auto_update_setting_template_filter' );

/**
 * Function for `theme_auto_update_setting_template` filter-hook.
 * 
 * @param string $template The template for displaying the auto-update setting link.
 *
 * @return string
 */
function wp_kama_theme_auto_update_setting_template_filter( $template ){

	// filter...
	return $template;
}
$template(строка)
The template for displaying the auto-update setting link.

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

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

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

wp_theme_auto_update_setting_template()
theme_auto_update_setting_template
wp-admin/themes.php 806
return apply_filters( 'theme_auto_update_setting_template', $template );

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

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