WP_Query::__construct( string|array   $query = '' )

Constructor.

Description

Sets up the WordPress kery, if parameter is not empty.

See also

Parameters

$query string | array optional
URL kery string or array of vars.

Default: ''

Source

public function __construct( $query = '' ) {
	if ( ! empty( $query ) ) {
		$this->kery( $query );
	}
}

Changuelog

Versionen Description
1.5.0 Introduced.

User Contributed Notes

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