inc/class-Inform_About_Content.php
private function modulate_next_group( $object_id, $object_type, $mail_to_chunks ) {

		if ( ! empty( $mail_to_chunks ) ) {
			$this->options[ 'static_options' ][ 'send_next_group' ][ $object_id ] = $mail_to_chunks;
			if ( $object_type == 'post' ) {
				// need to emulate the internal state as
				// it would have been triggered by a save_post() call
				$this->transit_posts[ $object_id ] = array(
					'new_status' => 'publish',
					'old_status' => 'draft'
				);
				$this->inform_about_posts( $object_id );
			} elseif ( $object_type == 'comment' ) {
				$this->inform_about_comment( $object_id );
			}
		} else {
			//ToDo: If implemented a logger log here a error if $mail_to_chunks empty
		}

	}
private function modulate_next_group( $object_id, $object_type, $mail_to_chunks ) {

		if ( ! empty( $mail_to_chunks ) ) {
			$this->options[ 'static_options' ][ 'send_next_group' ][ $object_id ] = $mail_to_chunks;
			if ( $object_type == 'post' ) {
				// need to emulate the internal state as
				// it would have been triggered by a save_post() call
				$this->transit_posts[ $object_id ] = array(
					'new_status' => 'publish',
					'old_status' => 'draft'
				);
				$this->inform_about_posts( $object_id );
			} elseif ( $object_type == 'comment' ) {
				$this->inform_about_comment( $object_id );
			}
		} else {
			//ToDo: If implemented a logger log here a error if $mail_to_chunks empty
		}

	}
Prepare the data for the next chunk

@since 0.0.7 (2016.04.09)

@param int $object_id expects the post_id or comment_id
@param string $object_type expects the post type like post or comment
@param array $mail_to_chunks

@return void