theme_auto_update_setting_template filter-hook . 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.
Usage
add_filter( 'theme_auto_update_setting_template', 'filter_function_name_5501' ); function filter_function_name_5501( $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
theme_auto_update_setting_template
wp-admin/themes.php 714
return apply_filters( 'theme_auto_update_setting_template', $template );