• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Genesis Custom Blocks

Genesis Custom Blocks

Create effective content faster.

  • Need Help?
You are here: Home / Block Lab Hook Compatibility

Block Lab Hook Compatibility

Genesis Custom Blocks is designed to be a replacement for the Block Lab plugin. Using Block Lab’s built in migration workflows, the vast majority of users will be able to transition to Genesis Custom Blocks without needing to make any manual changes.

Even the block templates that you’ve set up for you custom blocks are automatically compatible with Genesis Custom Blocks.

However, if you’ve customised or extended Block Lab using the built in actions and filters, you will simply need to update the filter names for them to continue working with Genesis Custom Blocks.

The previous hooks have the following compatible counterparts:

Actions

FromTo
block_lab_render_templategenesis_custom_blocks_render_template
block_lab_render_template_{$block->name}genesis_custom_blocks_render_template_{$block->name}
block_lab_add_blocksgenesis_custom_blocks_add_blocks

PHP Filters

FromTo
block_lab_show_pro_naggenesis_custom_blocks_show_pro_nag
block_lab_datagenesis_custom_blocks_data
block_lab_data_{$key}genesis_custom_blocks_data_{$key}
block_lab_get_block_attributesgenesis_custom_blocks_get_block_attributes
block_lab_override_theme_templategenesis_custom_blocks_override_theme_template
block_lab_blocksgenesis_custom_blocks_available_blocks
block_lab_template_pathgenesis_custom_blocks_template_path
block_lab_iconsgenesis_custom_blocks_icons
block_lab_allowed_svg_tagsgenesis_custom_blocks_allowed_svg_tags
block_lab_default_fieldsgenesis_custom_blocks_default_fields
block_lab_field_valuegenesis_custom_blocks_field_value
block_lab_sub_field_valuegenesis_custom_blocks_sub_field_value

JavaScript Filters

FromTo
block_lab_controlsgenesisCustomBlocks.controls

Primary Sidebar

Get Started

  • Install Genesis Custom Blocks (free)
  • Install Genesis Custom Blocks Pro
  • Update Genesis Custom Blocks Pro
  • General Settings and Options

Create Custom Blocks

  • Create Your First Custom Block
  • Example Custom Block
  • Add a Custom Block to Your Website Content
  • Style Your Custom Blocks

Export and Import Custom Blocks

  • Export Custom Blocks to Include in Your Theme

Code References

  • Fields
  • Functions
  • Filters

Tutorials & FAQs

  • Tutorials
  • FAQs

Resources

  • Changelog
  • Block Lab Hook Compatibility
  • Block Lab PHP API Compatibility
  • Support

© 2013–2025 WPEngine, Inc. All rights reserved. WP ENGINE®, VELOCITIZE®, TORQUE®, EVERCACHE®, and the cog logo service marks are owned by WPEngine,Inc.
1WP Engine is a proud member and supporter of the community of WordPress® users. The WordPress® trademarks are the intellectual property of the WordPress Foundation, and the Woo® and WooCommerce® trademarks are the intellectual property of WooCommerce, Inc. Uses of the WordPress®, Woo®, and WooCommerce® names in this website are for identification purposes only and do not imply an endorsement by WordPress Foundation or WooCommerce, Inc. WP Engine is not endorsed or owned by, or affiliated with, the WordPress Foundation or WooCommerce, Inc.