For Developers
Data Model
This document describes the main data structures used by Content Lifecycle Manager.
Managed Content Meta
The plugin stores lifecycle state in post meta on enabled post types.
Core managed meta keys:
clmngr_owner_user_idclmngr_last_reviewed_atclmngr_next_review_atclmngr_archived
Pending action meta keys used by the editor flow:
_clmngr_pending_action_clmngr_pending_action_params
Managed Content Status Model
The plugin uses computed statuses for lifecycle state:
healthyneeds_attentionarchived
These statuses are derived from meta values rather than manually selected by users.
Plugin Options
The main options are:
clmngr_enabled_post_typesclmngr_default_review_interval_daysclmngr_intake_behaviorclmngr_onboarding_complete
Ideas Data Model
Ideas are stored in the custom post type:
clmngr_idea
Idea meta keys:
clmngr_idea_stateclmngr_idea_converted_post_idclmngr_idea_preferred_post_type
Idea states:
activedroppedconverted
Conversion Behavior
When an idea is converted to content:
- a new draft post is created in the selected post type
- the idea is marked as converted
- the created post ID is stored on the idea
- core lifecycle meta is initialized on the new post with safe defaults
Timestamps
The plugin stores review timestamps as Unix timestamps.
Review-related logic treats them as UTC values.