Automattic\WooCommerce\Internal\DataStores\Orders

OrdersTableQuery::arg_isset()publicWC 1.0

Checks if a query var is set (i.e. not one of the "skipped values").

Method of the class: OrdersTableQuery{}

No Hooks.

Return

true|false. TRUE if query var is set.

Usage

$OrdersTableQuery = new OrdersTableQuery();
$OrdersTableQuery->arg_isset( $arg_key ): bool;
$arg_key(string) (required)
Query var.

OrdersTableQuery::arg_isset() code WC 9.3.3

public function arg_isset( string $arg_key ): bool {
	return ( isset( $this->args[ $arg_key ] ) && ! in_array( $this->args[ $arg_key ], self::SKIPPED_VALUES, true ) );
}