bbp_get_pending_upgrade_count( string $type = '' )

Return the number of pending upgrades


Description Description


Parameters Parameters

$type

(Optional) Type of pending upgrades (upgrade|repair|empty)

Default value: ''


Top ↑

Return Return

(int)


Top ↑

Source Source

File: includes/core/update.php

function bbp_get_pending_upgrade_count( $type = '' ) {
	return count( (array) bbp_get_pending_upgrades( $type ) );
}

Top ↑

Changelog Changelog

Changelog
Version Description
2.6.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.