GC::set_query_var()

最后更新于:2021-11-26 07:46:27

GC::set_query_var( string$key, mixed$value)

Sets the value of a query variable.

参数

$key

(string) (Required) Query variable name.

$value

(mixed) (Required) Query variable value.

源文件

文件: gc-includes/class-gc.php

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