$html[] = '<span class="dashicons dashicons-update spin hidden" aria-hidden="true"></span>';
$html[] = '<span class="label">' .
$text . '</span>';
$html[] = '</a>';
} if ( !
empty( $plugin_data['update'
] ) ) { $html[] =
sprintf( '<div class="auto-update-time%s">%s</div>',
$time_class,
wp_get_auto_update_message() );
} $html =
implode( '',
$html );
/**
* Filters the HTML of the auto-updates setting for each plugin in the Plugins list table.
*
* @since 5.5.0
*
* @param string $html The HTML of the plugin's auto-update column content,
* including toggle auto-update action links and
* 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.
*/