Petra
AI assistant for GrootMade
Hi! I'm Petra 👋 Ask me to help you find the perfect WP plugin, theme, or template kit.
forked from Required Block Attributes™
CoreTraits is not affiliated with Required Block Attributes. The name and any related trademarks are used solely for nominative descriptive purposes.
This plugin validates content blocks to ensure all required fields are completed before a post is saved or published. It is designed for site editors and developers who need to enforce data completeness and maintain consistent content structure.
Required Attribute Validation: The plugin checks blocks for specific attributes marked as required, preventing publication if any are empty.
Developer Integration: Blocks can define their required attributes using the requiredAttributes property within the standard registerBlockType() function.
Debug Mode Example: Includes a sample block that demonstrates the feature when the site's debug mode is enabled.
Publication Gatekeeper: Acts as a final check during the publishing process, stopping incomplete posts from going live.
Archived Status: Please note this repository is archived and no longer actively maintained, but the code remains available.