WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Vendor\League\Container\Definition

DefinitionInterface::addTag() public WC 1.0

Add a tag to the definition.

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

No Hooks.

Return

self.

Usage

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

Code of DefinitionInterface::addTag() WC 5.8.0

public function addTag(string $tag) : DefinitionInterface;