Sets up the WordPress query for retrieving networks.
Parameters
$query
string|arrayrequired- Array or URL query string of parameters.
Source
public function query( $query ) {
$this->query_vars = wp_parse_args( $query );
return $this->get_networks();
}
Changelog
Version | Description |
---|---|
4.6.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.