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_Posts::set_post_ids( array $post_ids = array() )

Sets list of post_ids to be processed.


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

$post_ids

(Optional) Full list of post_ids to be processed.

Default value: array()


Top ↑

Source Source

File: classes/Abstract/Upgrade/Posts.php

	protected function set_post_ids( $post_ids = array() ) {
		$this->post_ids = $post_ids;

		PUM_DataStorage::write( "{$this->batch_id}_post_ids", $post_ids );
	}


Top ↑

User Contributed Notes User Contributed Notes

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