wppaste
WordPress

apply_filters( 'theme_auto_update_setting_html', string $html, string $stylesheet, WP_Theme $theme )

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

Compatibility

WordPress
since 5.5.0
  • 6.7.7
  • 6.8.8
  • 6.9.7
  • 7.0.4
  • 7.1.0

Present in every tracked release (6.7.7 to 7.1.0).

Parameters

$htmlstring
The HTML for theme's auto-update setting, including toggle auto-update action link and time to next update.
$stylesheetstring
Directory name of the theme.
$themeWP_Theme
WP_Theme object.

Where this hook fires · 1

  • wp-admin/includes/class-wp-ms-themes-list-table.php:866WP_MS_Themes_List_Table::column_autoupdates()

Source code

<?php		 *		 * @param string   $html       The HTML for theme's auto-update setting, including		 *                             toggle auto-update action link and time to next update.		 * @param string   $stylesheet Directory name of the theme.		 * @param WP_Theme $theme      WP_Theme object.		 */		echo apply_filters( 'theme_auto_update_setting_html', $html, $stylesheet, $theme ); 		wp_admin_notice(			'',			array(				'type'               => 'error',				'additional_classes' => array( 'notice-alt', 'inline', 'hidden' ),

Changelog

Introduced in 5.5.0. Unchanged from 6.7.7 through 7.1.0.

  1. 6.7.7
  2. 6.8.8
  3. 6.9.7
  4. 7.0.4
  5. 7.1.0

Signature, return type and hooks compared across 5 parsed releases.

About this page

Parsed data
Generated from the wordpress-develop 6.7.7 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.