Automattic\WooCommerce\Vendor\GraphQL\Type\Definition

HasFieldsType::getFieldNamespublicWC 1.0

Get all field names, including only visible fields.

Method of the class: HasFieldsType{}

No Hooks.

Returns

Array. string>

Usage

$HasFieldsType = new HasFieldsType();
$HasFieldsType->getFieldNames(): array;

HasFieldsType::getFieldNames() code WC 10.9.1

public function getFieldNames(): array;