WP_Background_Process::push_to_queue()publicWC 1.0

Push to queue

Method of the class: WP_Background_Process{}

No Hooks.

Return

$this.

Usage

$WP_Background_Process = new WP_Background_Process();
$WP_Background_Process->push_to_queue( $data );
$data(mixed) (required)
Data.

WP_Background_Process::push_to_queue() code WC 9.4.2

public function push_to_queue( $data ) {
	$this->data[] = $data;

	return $this;
}