Petra
AI assistant for GrootMade
Hi! I'm Petra 👋 Ask me to help you find the perfect WP plugin, theme, or template kit.
Define custom content types and settings pages with structured PHP or JSON.
This is a Composer library for developers building plugins that extend a popular CMS. It provides a structured way to define custom content types, taxonomies, and admin settings pages without writing repetitive boilerplate code.
Custom Post Types & Taxonomies: Register new content types and taxonomies with associated meta fields using a declarative configuration array or JSON file. The system handles the registration, UI, and data storage. Settings Pages: Create top-level or submenu admin pages with forms. Field values are automatically saved and retrieved from the correct options table. Field Management: Supports 18 field types including text, number, select, date, color, WYSIWYG editor, upload, and complex containers like tabs, groups, and repeaters for organized data entry. Extend Existing Content: Add custom fields to existing, built-in post types and taxonomies using the same configuration method. Value Retrieval: Use a unified static method to get stored field values from posts, terms, or settings, providing a consistent API regardless of where the data is saved.
Version
Original
Updated
Version
Original
Updated