wppaste
WordPress

apply_filters( 'plugin_auto_update_debug_string', string $auto_updates_string, string $plugin_path, array $plugin, bool $enabled )

Since
5.5.0
Filters the text string of the auto-updates setting for each plugin in the Site Health debug data.

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

$auto_updates_stringstring
The string output for the auto-updates column.
$plugin_pathstring
The path to the plugin file.
$pluginarray
An array of plugin data.
$enabledbool
Whether auto-updates are enabled for this item.

Where this hook fires · 1

  • wp-admin/includes/class-wp-debug-data.php:1089WP_Debug_Data::get_wp_plugins_raw_data()

Source code

				 *				 * @param string $auto_updates_string The string output for the auto-updates column.				 * @param string $plugin_path         The path to the plugin file.				 * @param array  $plugin              An array of plugin data.				 * @param bool   $enabled             Whether auto-updates are enabled for this item.				 */				$auto_updates_string = apply_filters( 'plugin_auto_update_debug_string', $auto_updates_string, $plugin_path, $plugin, $enabled ); 				$plugin_version_string       .= ' | ' . $auto_updates_string;				$plugin_version_string_debug .= ', ' . $auto_updates_string;			} 			$fields[ $plugin_part ][ sanitize_text_field( $plugin['Name'] ) ] = array(

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 7.1.0 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.