mainwp_updates_before_wp_updates

Fires at the top of the WP updates tab.

Parameters

$websites
(object) Object containing the child sites data.
$total_wp_upgrades
(int) Number of available WP upates.
$all_groups_sites
(array) Array containing all groups and sites.
$all_groups
(array) Array containing all groups.
$site_offset_for_groups
(array) Offset value.

Usage Example