theme_auto_update_debug_string

theme_auto_update_debug_string

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('theme_auto_update_debug_string') is found 3 times:

  • /wp-admin/includes/class-wp-debug-data.php line 1137
    1133
    1134
    1135
    1136
    1137
    1138
    1139
    1140
    1141
    1142
    1143
        $auto_updates_string = __( 'Disabled' );
    }
     
    /** This filter is documented in wp-admin/includes/class-wp-debug-data.php */
    $auto_updates_string = apply_filters( 'theme_auto_update_debug_string', $auto_updates_string, $active_theme, $enabled );
     
    $fields['auto_update'] = array(
        'label' => __( 'Auto-updates' ),
        'value' => $auto_updates_string,
        'debug' => $auto_updates_string,
    );
  • /wp-admin/includes/class-wp-debug-data.php line 1248
    1244
    1245
    1246
    1247
    1248
    1249
    1250
    1251
    1252
    1253
    1254
        $parent_theme_auto_update_string = __( 'Disabled' );
    }
     
    /** This filter is documented in wp-admin/includes/class-wp-debug-data.php */
    $parent_theme_auto_update_string = apply_filters( 'theme_auto_update_debug_string', $parent_theme_auto_update_string, $parent_theme, $enabled );
     
    $fields['auto_update'] = array(
        'label' => __( 'Auto-update' ),
        'value' => $parent_theme_auto_update_string,
        'debug' => $parent_theme_auto_update_string,
    );
  • /wp-admin/includes/class-wp-debug-data.php line 1369
    1365
    1366
    1367
    1368
    1369
    1370
    1371
    1372
    1373
    1374
    1375
         * @param string   $auto_updates_string The string output for the auto-updates column.
         * @param WP_Theme $theme               An object of theme data.
         * @param bool     $enabled             Whether auto-updates are enabled for this item.
         */
        $auto_updates_string = apply_filters( 'theme_auto_update_debug_string', $auto_updates_string, $theme, $enabled );
     
        $theme_version_string       .= ' | ' . $auto_updates_string;
        $theme_version_string_debug .= ', ' . $auto_updates_string;
    }
     
    $fields[ sanitize_text_field( $theme->name ) ] = array(