Automattic\WooCommerce\Api\Attributes
HiddenFromMetadataQuery{}
[Attribute( Attribute::TARGET_CLASS | Attribute::TARGET_PROPERTY | Attribute::TARGET_PARAMETER | Attribute::TARGET_CLASS_CONSTANT )]No Hooks.
Usage
$HiddenFromMetadataQuery = new HiddenFromMetadataQuery(); // use class methods
Methods
- public shows_in_metadata_query()
HiddenFromMetadataQuery{} HiddenFromMetadataQuery{} code WC 10.9.1
final class HiddenFromMetadataQuery {
/**
* Always returns `false`. ApiBuilder calls this during the per-target
* `_apiMetadata` visibility check; the target is omitted from the
* discovery output as a result.
*/
public function shows_in_metadata_query(): bool {
return false;
}
}