GC::remove_query_var()

最后更新于:2021-11-26 07:40:20

GC::remove_query_var( string$name)

Removes a query variable from a list of public query variables.

参数

$name

(string) (Required) Query variable name.

源文件

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

	public function remove_query_var( $name ) {
		$this->public_query_vars = array_diff( $this->public_query_vars, array( $name ) );
	}