plugin_auto_update_setting_html хук-фильтр . WP 5.5.0
Filters the HTML of the auto-updates setting for each plugin in the Plugins list table.
Использование
add_filter( 'plugin_auto_update_setting_html', 'filter_function_name_5879', 10, 3 ); function filter_function_name_5879( $html, $plugin_file, $plugin_data ){ // filter... return $html; }
- $html(строка)
- The HTML of the plugin's auto-update column content, including toggle auto-update action links and time to next update.
- $plugin_file(строка)
- Path to the plugin file relative to the plugins directory.
- $plugin_data(массив)
- An array of plugin data.
Список изменений
С версии 5.5.0 | Введена. |
Где вызывается хук
plugin_auto_update_setting_html
wp-admin/includes/class-wp-plugins-list-table.php 1165
echo apply_filters( 'plugin_auto_update_setting_html', $html, $plugin_file, $plugin_data );