Warning: Array to string conversion in /mnt/data/home/502433.cloudwaysapps.com/rhbymdevka/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 808
PUM_Utils_Upgrades::maybe_resume_upgrade()

For use when doing ‘stepped’ upgrade routines, to see if we need to start somewhere in the middle


Description Description


Warning: Array to string conversion in /mnt/data/home/502433.cloudwaysapps.com/rhbymdevka/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 808

Return Return

(false|array) When nothing to resume returns false, otherwise starts the upgrade where it left off


Top ↑

Source Source

File: classes/Utils/Upgrades.php

	public function maybe_resume_upgrade() {
		$doing_upgrade = get_option( 'pum_doing_upgrade', array() );

		if ( empty( $doing_upgrade ) ) {
			return false;
		}

		return (array) $doing_upgrade;
	}


Top ↑

User Contributed Notes User Contributed Notes

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