plugin_auto_update_setting_html WordPress Filter Hook

The plugin_auto_update_setting_html hook is used to add a new setting to the auto-update settings page in the WordPress admin. This hook allows you to add a new setting to the auto-update settings page, and is used by the WordPress auto-update feature to update your plugins automatically.

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

Filters the HTML of the auto-updates setting for each plugin in the Plugins list table.


Parameters

$html

(string)The HTML of the plugin's auto-update column content, including toggle auto-update action links and time to next update.

$plugin_file

(string)Path to the plugin file relative to the plugins directory.

$plugin_data

(array)An array of plugin data. See get_plugin_data() and the 'plugin_row_meta' filter for the list of possible values.


Top ↑

Source

File: wp-admin/includes/class-wp-plugins-list-table.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
5.5.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.