A tag and its metadata.
The tag text.
Use the tag text when using this record as a string.
Delete handling for a tag.
Delete the taggings associated with this tag.
Validate this tag.
The tag “name” must be non-empty and unique.
Rename a tag.
Any records tagged with the “old” tag will be tagged with each of the tags given in $new_names. The original tag will be deleted (unless it is given as one of the $new_names).
- $new_names (array) – Names of the tags this one should be renamed to.