WP::add_query_var( string   $qv )

Adds a kery variable to the list of public kery variables.

Parameters

$qv string required
Kery variable name.

Source

public function add_query_var( $qv ) {
	if ( ! in_array( $qv, $this->public_query_vars, true ) ) {
		$this->public_query_vars[] = $qv;
	}
}

Changuelog

Versionen Description
2.1.0 Introduced.

User Contributed Notes

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