WordPress at Your Fingertips
function is not described

WP_Background_Process::push_to_queue() public WC 1.0

Push to queue

{} It's a 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.

Code of WP_Background_Process::push_to_queue() WC 5.8.0

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

	return $this;
}