Skip to main content

Module content

Module content 

Source

Functions§

count_content
create_content
delete_content
ensure_metadata_defaults
get_content_by_id
get_content_by_slug
list_content
list_published_content
process_snippet_shortcodes
Process [snippet slug="..."] shortcodes by replacing them with the snippet’s rendered HTML. Snippets are resolved from the database. Unknown slugs are left as-is. To prevent infinite recursion, snippet content is not recursively processed for nested snippets.
publish_scheduled
rerender_all_content
Re-render all content HTML from markdown. Useful after updating the markdown renderer to apply changes to existing content.
update_content