Automattic\WooCommerce\Admin\API\Reports
GenericQuery::__construct()
Create a new query.
Method of the class: GenericQuery{}
No Hooks.
Return
null
. Nothing (null).
Usage
$GenericQuery = new GenericQuery(); $GenericQuery->__construct( $args, $name );
- $args(array) (required)
- Criteria to query on in a format similar to WP_Query.
- $name(string)
- Query name.
Default: null
GenericQuery::__construct() GenericQuery:: construct code WC 9.3.3
public function __construct( $args, $name = null ) { $this->name = $name ?? $this->name; return parent::__construct( $args ); // phpcs:ignore Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound }