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
Warning: foreach() argument must be of type array|object, string given in /mnt/data/home/502433.cloudwaysapps.com/rhbymdevka/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 813
PUM_Abstract_Upgrade::__construct( int $step = 1 )
Store the current upgrade args in case we need to redo somehting
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
Warning: foreach() argument must be of type array|object, string given in /mnt/data/home/502433.cloudwaysapps.com/rhbymdevka/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 813
Parameters Parameters
- $step
-
(Optional)
Default value: 1
Source Source
File: classes/Abstract/Upgrade.php
public function __construct( $step = 1 ) { update_option( 'pum_doing_upgrade', array( 'upgrade_id' => $this->batch_id, 'step' => $step, ) ); parent::__construct( $step ); }
Expand full source code Collapse full source code View on Trac