WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Vendor\League\Container\Definition

DefinitionInterface::hasTag() public WC 1.0

Does the definition have a tag?

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

No Hooks.

Return

true|false.

Usage

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

Code of DefinitionInterface::hasTag() WC 5.8.0

public function hasTag(string $tag) : bool;