WooCommerce Code Reference

Personalization_Tags_Registry
in package

Registry for personalization tags.

Table of Contents

$tags  : array<string|int, Personalization_Tag>
List of registered personalization tags.
get_all()  : array<string|int, mixed>
Retrieve all registered personalization tags.
get_by_token()  : Personalization_Tag|null
Retrieve a personalization tag by its token.
initialize()  : void
Initialize the personalization tags registry.
register()  : void
Register a new personalization instance in the registry.

Properties

Methods