Interface ClassValueKeyEnum

All Superinterfaces:
CacheKeyEnum, FriendlyEnum
All Known Implementing Classes:
TaxonomyValues

public interface ClassValueKeyEnum extends CacheKeyEnum
Unified Enum interface for the WordPress class/taxonomy value representation objects.

Implement this interface if you have, for instance, custom taxonomies with specific values and want to use them with the utilities provided in PowerWP4j.

A class value marker in the WordPress post data is a key that holds a list of numeric IDs for a given taxonomy/class, typically paired with a respective class marker that PowerWP4j represents as a ClassMarkerEnum in a different list, such as tags or categories.

Note that not all ClassMarkerEnum are paired with numerical values
that ClassValueKeyEnum is supposed to help you distinguish and aggregate, although a value key is a cache key by default.

Example: "tags": [12, 34, 56] or "categories": [2, 5]

Author:
Yoham Gabriel B. @YGBStudio
  • Method Summary

    Methods inherited from interface net.ygbstudio.powerwp4j.base.extension.enums.FriendlyEnum

    value