Title: theme_auto_update_setting_html
Published: August 11, 2020
Last modified: May 20, 2026

---

# apply_filters( ‘theme_auto_update_setting_html’, string $html, string $stylesheet, WP_Theme $theme )

## In this article

 * [Parameters](https://developer.wordpress.org/reference/hooks/theme_auto_update_setting_html/?output_format=md#parameters)
 * [Source](https://developer.wordpress.org/reference/hooks/theme_auto_update_setting_html/?output_format=md#source)
 * [Related](https://developer.wordpress.org/reference/hooks/theme_auto_update_setting_html/?output_format=md#related)
 * [Changelog](https://developer.wordpress.org/reference/hooks/theme_auto_update_setting_html/?output_format=md#changelog)

[ Back to top](https://developer.wordpress.org/reference/hooks/theme_auto_update_setting_html/?output_format=md#wp--skip-link--target)

Filters the HTML of the auto-updates setting for each theme in the Themes list table.

## 󠀁[Parameters](https://developer.wordpress.org/reference/hooks/theme_auto_update_setting_html/?output_format=md#parameters)󠁿

 `$html`string

The HTML for theme’s auto-update setting, including toggle auto-update action link
and time to next update.

`$stylesheet`string

Directory name of the theme.

`$theme`[WP_Theme](https://developer.wordpress.org/reference/classes/wp_theme/)

[WP_Theme](https://developer.wordpress.org/reference/classes/wp_theme/) object.

## 󠀁[Source](https://developer.wordpress.org/reference/hooks/theme_auto_update_setting_html/?output_format=md#source)󠁿

    ```php
    echo apply_filters( 'theme_auto_update_setting_html', $html, $stylesheet, $theme );
    ```

[View all references](https://developer.wordpress.org/reference/files/wp-admin/includes/class-wp-ms-themes-list-table.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/7.0/src/wp-admin/includes/class-wp-ms-themes-list-table.php#L887)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-admin/includes/class-wp-ms-themes-list-table.php#L887-L887)

## 󠀁[Related](https://developer.wordpress.org/reference/hooks/theme_auto_update_setting_html/?output_format=md#related)󠁿

| Used by | Description | 
| [WP_MS_Themes_List_Table::column_autoupdates()](https://developer.wordpress.org/reference/classes/wp_ms_themes_list_table/column_autoupdates/)`wp-admin/includes/class-wp-ms-themes-list-table.php` |

Handles the auto-updates column output.

  |

## 󠀁[Changelog](https://developer.wordpress.org/reference/hooks/theme_auto_update_setting_html/?output_format=md#changelog)󠁿

| Version | Description | 
| [5.5.0](https://developer.wordpress.org/reference/since/5.5.0/) | Introduced. |

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fhooks%2Ftheme_auto_update_setting_html%2F)
before being able to contribute a note or feedback.