theme_auto_update_debug_string filter-hook . WP 5.5.0
Filters the text string of the auto-updates setting for each theme in the Site Health debug data.
Usage
add_filter( 'theme_auto_update_debug_string', 'filter_function_name_2405', 10, 3 ); function filter_function_name_2405( $auto_updates_string, $theme, $enabled ){ // filter... return $auto_updates_string; }
- $auto_updates_string(string)
- The string output for the auto-updates column.
- $theme(WP_Theme)
- An object of theme data.
- $enabled(true/false)
- Whether auto-updates are enabled for this item.
Changelog
Since 5.5.0 | Introduced. |
Where the hook is called
wp-admin/includes/class-wp-debug-data.php 1319
$auto_updates_string = apply_filters( 'theme_auto_update_debug_string', $auto_updates_string, $theme, $enabled );
wp-admin/includes/class-wp-debug-data.php 1137
$auto_updates_string = apply_filters( 'theme_auto_update_debug_string', $auto_updates_string, $active_theme, $enabled );
wp-admin/includes/class-wp-debug-data.php 1223
$parent_theme_auto_update_string = apply_filters( 'theme_auto_update_debug_string', $auto_updates_string, $parent_theme, $enabled );