Kindly EditDocumentationTry the editor

Storage, metadata, and identifiers

Locate the named metadata constants and persistent identifiers used by the released plugin.

Ownership model#

Published page markup lives in post_content. Drafts and related unpublished settings use private metadata. Shared parts, saved templates, loop templates, globals, popups, and theme templates are separate WordPress records. Site design and preferences use options or user metadata. WordPress revisions preserve the relevant published history.

Do not write database fields directly as a substitute for the save API. Validation, conflict checks, signatures, cache invalidation, revision recording, and related metadata promotion happen in the owning functions.

Named constants#

The following constants are extracted from the released PHP modules. Some are limits or settings rather than database keys. The module link explains their owner.

Constant Definition Owner
CANTATA_EDIT_UPDATE_CACHE 'cantata_edit_update' updater
CANTATA_EDIT_THEME 'kindly_theme' theme-templates
CANTATA_EDIT_DESIGN_DRAFT 'cantata_client_design_draft' theme-design
CANTATA_EDIT_TEMPLATE_TYPE 'kindly_template' templates
CANTATA_EDIT_TEMPLATE_HOLD '_cantata_edit_tplreq_' templates
CANTATA_EDIT_TEMPLATE_CODE_GRANT_TTL 2 * DAY_IN_SECONDS template-code
CANTATA_EDIT_TEMPLATE_CODE_GRANT_USES 16 template-code
CANTATA_EDIT_CONTRACT 1 settings
CANTATA_EDIT_SEO '_cantata_edit_seo' seo
CANTATA_EDIT_DRAFT_SEO '_cantata_edit_draft_seo' seo
CANTATA_EDIT_DRAFT_TITLE '_cantata_edit_draft_title' rest
CANTATA_EDIT_META '_cantata_edit' render
CANTATA_EDIT_DRAFT '_cantata_edit_draft' render
CANTATA_EDIT_POPUP 'kindly_popup' popups
CANTATA_EDIT_AI_KNOWN_ITEMS [ [ 'cb-people', 'li', 'person' ], [ 'cb-docs', 'li', 'document' ], [ 'cb-gallery', 'figure', 'photo' ], [ 'cb-cards', '.cb-card', 'card' ], [ 'cb-timeline', 'li', 'entry' ], ] page-model
CANTATA_EDIT_AI_TEXT_TAGS [ 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'p', 'li', 'summary', 'figcaption', 'blockquote', 'dt', 'dd', 'td', 'th', 'button' ] page-model
CANTATA_EDIT_LOOP 'kindly_loop' loop-templates
CANTATA_EDIT_LICENSE_OPTION 'cantata_edit_license' license
CANTATA_EDIT_LICENSE_GRACE 14 * DAY_IN_SECONDS license
CANTATA_EDIT_LICENSE_EVERY DAY_IN_SECONDS license
CANTATA_EDIT_MENU 'kindly' kindly-menu
CANTATA_EDIT_INTRO_META 'cantata_edit_intro_seen' intro
CANTATA_EDIT_HELP_SLUG 'cantata-edit-help' help
CANTATA_EDIT_GLOBAL 'kindly_global' globals
CANTATA_EDIT_FORMS_META '_cantata_edit_forms' forms
CANTATA_EDIT_SUBMISSION 'kindly_submission' forms
CANTATA_EDIT_ELEMENT_PHP_MAX 16384 element-php
CANTATA_EDIT_ELEMENT_PHP_COUNT 32 element-php
CANTATA_EDIT_ELEMENT_PHP_OUTPUT 262144 element-php
CANTATA_EDIT_ELEMENT_PHP_TYPE 'cantata_php_code' element-php
CANTATA_EDIT_ELEMENT_PHP_REF '/^p1\.([0-9a-f]{32})\.([0-9a-f]{64})$/D' element-php
CANTATA_EDIT_ELEMENT_JS_MAX 16384 element-js
CANTATA_EDIT_ELEMENT_JS_COUNT 64 element-js
CANTATA_EDIT_ELEMENT_JS_TOTAL 131072 element-js
CANTATA_EDIT_ELEMENT_JS_REGISTRY_MAX 262144 element-js
CANTATA_EDIT_ELEMENT_CSS_MAX 16384 element-css
CANTATA_EDIT_ELEMENT_CSS_RULES 200 element-css
CANTATA_EDIT_ELEMENT_CSS_DECLS 100 element-css
CANTATA_EDIT_ELEMENT_CSS_NESTING 16 element-css
CANTATA_EDIT_DESIGN_SYSTEM_LIMIT 500 design-system
CANTATA_EDIT_BLOCKS_EDITABLE [ 'core/paragraph', 'core/heading', 'core/list-item', 'core/pullquote', 'core/button', 'core/image' ] blocks-mode
CANTATA_EDIT_BLOCKS_HOLDERS [ 'core/list', 'core/quote', 'core/buttons', 'core/cover', 'core/columns', 'core/column', 'core/group', 'core/media-text' ] blocks-mode
CANTATA_EDIT_BLOCKS_INERT [ 'core/separator', 'core/spacer' ] blocks-mode

Persistent and feature identifiers#

This literal identifier inventory includes option names, metadata names, post types, hooks, and error or feature keys. It is a cross-reference, not a claim that every identifier is a database column. Dynamic suffixes are resolved by the implementation.

About this page

Documents Kindly Edit 0.9.16. Source: includes/*.php. Theme choices and account permissions can change which controls appear.

Type a word or phrase to search the full documentation.