Automattic\WooCommerce\Api\Attributes

HiddenFromMetadataQuery::shows_in_metadata_querypublicWC 1.0

Always returns false. ApiBuilder calls this during the per-target _apiMetadata visibility check; the target is omitted from the discovery output as a result.

Method of the class: HiddenFromMetadataQuery{}

No Hooks.

Returns

null. Nothing (null).

Usage

$HiddenFromMetadataQuery = new HiddenFromMetadataQuery();
$HiddenFromMetadataQuery->shows_in_metadata_query(): bool;

HiddenFromMetadataQuery::shows_in_metadata_query() code WC 10.9.1

public function shows_in_metadata_query(): bool {
	return false;
}