BlocksWpQuery::__construct( string|array $query = '' )
Constructor.
Description Description
Sets up the WordPress query, if parameter is not empty.
Unlike the constructor in WP_Query, this does not RUN the query.
Parameters Parameters
- $query
-
(Optional) URL query string or array of vars.
Default value: ''
Source Source
File: packages/woocommerce-blocks/src/Utils/BlocksWpQuery.php