Interface ClassMarkerEnum

All Superinterfaces:
FriendlyEnum
All Known Implementing Classes:
TaxonomyMarker

public non-sealed interface ClassMarkerEnum extends FriendlyEnum
Unified Enum interface for the WordPress taxonomy/class key markers. objects.

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

A class marker is a prefix or identifier used in the 'class_list' field of a post to indicate a categorical separation that is related to a value in a site (e.g., tag, category, post type, status).

The value corresponding to each of these markers is represented in
PowerWP4j as a ClassValueKeyEnum and those can be found in a different list depending on the marker as not all markers are supposed to be paired with numerical values. The reason why this is the case resides in that a ClassMarkerEnum is a categorical marker in nature, and such categories could be aggregated or just used as a marker for other states or metadata concerning post elements.

Example: "tag-python", "category-tutorial", "status-published"

Author:
Yoham Gabriel B. @YGBStudio
  • Method Summary

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

    value