WC_Object_Query::set( string $query_var, mixed $value )

Set a query variable.


Description Description


Parameters Parameters

$query_var

(Required) Query variable to set.

$value

(Required) Value to set for query variable.


Top ↑

Source Source

File: includes/abstracts/abstract-wc-object-query.php

	public function set( $query_var, $value ) {
		$this->query_vars[ $query_var ] = $value;
	}

Top ↑

User Contributed Notes User Contributed Notes

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