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: ''


Top ↑

Source Source

File: packages/woocommerce-blocks/src/Utils/BlocksWpQuery.php


			


Top ↑

User Contributed Notes User Contributed Notes

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