WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Vendor\League\Container\Definition

DefinitionAggregateInterface::hasTag() public WC 1.0

Checks whether tag exists as definition.

{} It's a method of the class: DefinitionAggregateInterface{}

No Hooks.

Return

true|false.

Usage

$DefinitionAggregateInterface = new DefinitionAggregateInterface();
$DefinitionAggregateInterface->hasTag( $tag ) : bool;
$tag(string) (required)
-

Code of DefinitionAggregateInterface::hasTag() WC 5.7.1

public function hasTag(string $tag) : bool;