wppaste
WordPress

apply_filters( 'plugin_auto_update_setting_html', string $html, string $plugin_file, array $plugin_data )

Since
5.5.0
Filters the HTML of the auto-updates setting for each plugin in the Plugins 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 of the plugin's auto-update column content, including toggle auto-update action links and time to next update.
$plugin_filestring
Path to the plugin file relative to the plugins directory.
$plugin_dataarray
An array of plugin data. See get_plugin_data() and the 'plugin_row_meta' filter for the list of possible values.

Where this hook fires · 1

  • wp-admin/includes/class-wp-plugins-list-table.php:1457WP_Plugins_List_Table::single_row()

Source code

					 *                            time to next update.					 * @param string $plugin_file Path to the plugin file relative to the plugins directory.					 * @param array  $plugin_data An array of plugin data. See get_plugin_data()					 *                            and the {@see 'plugin_row_meta'} filter for the list					 *                            of possible values.					 */					echo apply_filters( 'plugin_auto_update_setting_html', $html, $plugin_file, $plugin_data ); 					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 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.