For Developers

Data Model

Estimated reading: 2 minutes

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_id
  • clmngr_last_reviewed_at
  • clmngr_next_review_at
  • clmngr_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:

  • healthy
  • needs_attention
  • archived

These statuses are derived from meta values rather than manually selected by users.

Plugin Options

The main options are:

  • clmngr_enabled_post_types
  • clmngr_default_review_interval_days
  • clmngr_intake_behavior
  • clmngr_onboarding_complete

Ideas Data Model

Ideas are stored in the custom post type:

  • clmngr_idea

Idea meta keys:

  • clmngr_idea_state
  • clmngr_idea_converted_post_id
  • clmngr_idea_preferred_post_type

Idea states:

  • active
  • dropped
  • converted

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.

Share this Doc

Data Model

Or copy link

CONTENTS