Blocks

Creode_Blocks

Table of Contents

Namespaces

Make_Block

Classes

Block
Abstract class to extend for each block.
Child_Block
Class to store child block definition.
Helpers
Global helper functions
Make_Block
Handles the creation of block files in desired location.
Toggle_Menu_Walker_With_Parent_Links
Extension of Toggle_Menu_Walker to add parent links to sub-menus.
Toggle_Menu_Walker
Custom Walker_Nav_Menu for accessible sub-menu toggles.

Traits

Trait_Block_Pattern_Options
Trait for managing and rendering integrated block pattern references.
Trait_Has_Color_Choices
Trait for providing colour choices based on configured theme colours.
Trait_Has_CSS_Variables
Trait for providing CSS variables to blocks.
Trait_Has_Icons
Trait for allowing blocks to render icons from a standard set.
Trait_Has_Modifier_Classes
Trait for managing block modifier classes.
Trait_Has_Reduce_Bottom_Space_Option
Trait for adding a "Reduce Bottom Space" setting.
Trait_Has_Unique_Id
Trait for allowing a block to retrieve a unique ID string for its particular rendering.
Trait_Menu_Integration
Trait for integrating with WordPress menus.
Trait_Restrict_To_Editor_Context
Trait for restricting a block to a specific editor context.
Trait_Restrict_To_Post_Editor
Trait for restricting a block to the post editor context.
Trait_Restrict_To_Post_Types
Trait for restricting a block to the editor of particular post types.
Trait_Restrict_To_Site_Editor
Trait for restricting a block to the site editor context.

        
On this page

Search results