theme_auto_update_setting_template filter-hookWP 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.

Usage

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(string)
The template for displaying the auto-update setting link.

Changelog

Since 5.5.0 Introduced.

Where the hook is called

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

Where the hook is used in WordPress

Usage not found.