WP_User_Query::get( string $query_var )

Retrieve query variable.


Parameters Parameters

$query_var

(string) (Required) Query variable key.


Top ↑

Return Return

(mixed)


Top ↑

Source Source

File: wp-includes/class-wp-user-query.php

	public function get( $query_var ) {
		if ( isset( $this->query_vars[ $query_var ] ) ) {
			return $this->query_vars[ $query_var ];
		}

		return null;
	}


Top ↑

Changelog Changelog

Changelog
Version Description
3.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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