Gutenberg Essential Blocks icon
Page Builders & Blocks

Gutenberg Essential Blocks hooks reference

  • By WPDeveloper
  • v6.5.4 New
  • Updated

Gutenberg Essential Blocks 6.5.4 has 22 actions and 55 filters, read directly from its source code on Nov 17, 2026. The list updates automatically when a new version is released.

How to use these hooks

Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.

functions.phpyour child theme
// Run your own code when Gutenberg Essential Blocks fires an action
add_action( 'eb_post_grid_search_form', function( $essentialAttr ) {
	// Your code runs here.
}, 10, 1 );

// Change a value Gutenberg Essential Blocks is about to use
add_filter( 'eb_advanced_video_dimensions', function( $array, $url ) {
	// Change $array here.
	return $array;
}, 10, 2 );

Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.

All hooks

  • views/post-grid.php line 75 · used in 2 places
    /**
     * Add search form
     */
    do_action( 'eb_post_grid_search_form', $essentialAttr );
  • includes/Blocks/AdvancedVideo.php line 570
    /**
     * Filters the size of a self-hosted Advanced Video file.
     */
    apply_filters( 'eb_advanced_video_dimensions', is_array( $hit ) ? $hit : null, $url );
  • templates/essential-blocks-blank-template.php line 55
    /**
     * Hooks anything after content
     */
    do_action( 'eb_after_blank_content' );
  • templates/essential-blocks-fullwidth-template.php line 47
    /**
     * Hooks anything after content
     */
    do_action( 'eb_after_fullwidth_content' );
  • includes/Utils/Settings.php line 151
    /**
     * Fires after reset a specific settings key
     */
    do_action( "eb_after_reset_{$key}_settings", $prev_value );
  • includes/Utils/Settings.php line 86
    /**
     * Fires after save a specific settings key
     */
    do_action( "eb_after_save_{$key}_settings", $value, $prev_value );
  • templates/essential-blocks-blank-template.php line 37
    /**
     * Hooks anything before content
     */
    do_action( 'eb_before_blank_content' );
  • templates/essential-blocks-fullwidth-template.php line 29
    /**
     * Hooks anything before content
     */
    do_action( 'eb_before_fullwidth_content' );
  • includes/Utils/CSSParser.php line 165
    /**
     * Filter a block's saved generated CSS before it is collected.
     */
    apply_filters( 'eb_block_meta_css', $blockMeta, $item );
  • includes/Utils/CSSParser.php line 343
    /**
     * Filter the generated CSS before it's written to file.
     */
    apply_filters( 'eb_blocks_generated_css', $css, $style_object );
  • includes/Modules/StyleHandler.php line 290
    /**
     * Hooks assets for enqueue in frontend
     */
    do_action( 'eb_frontend_assets', $this->style_dir, $this->style_url );
  • includes/Core/HeroPreload.php line 69
    /**
     * Filter the hero background preloads for a post.
     */
    apply_filters( 'eb_hero_background_preloads', self::hero_images( (string) $post->post_content ), $post );
  • includes/Core/Scripts.php line 790
    /**
     * Filters whether Essential Blocks strips its editor styles in the Customizer.
     */
    apply_filters( 'essential_blocks_dequeue_customizer_editor_styles', true );
  • includes/Plugin.php line 182
    /**
     * Initialize.
     */
    do_action( 'essential_blocks::init' );
  • includes/Blocks/FacebookFeed.php line 274
    /**
     * Filters the Graph API query args before the request is built.
     */
    apply_filters( 'essential_blocks/facebook_feed/query_args', $query_args, $attributes );
  • includes/Utils/SvgSanitizer.php line 407
    /**
     * Allowed attributes in SVG file.
     */
    apply_filters( 'essential_blocks/files/svg/allowed_attributes', $allowed_attributes );
  • includes/Utils/SvgSanitizer.php line 502
    /**
     * Allowed elements in SVG file.
     */
    apply_filters( 'essential_blocks/files/svg/allowed_elements', $allowed_elements );
  • includes/Modules/StyleHandler.php line 206 · used in 5 places
    apply_filters( 'active_plugins', get_option('active_plugins') );
  • includes/Blocks/ImageComparison.php line 56 · used in 5 places
    apply_filters( 'eb_dynamic_tag_value', $decoded, $decoded, true );
  • includes/Core/Block.php line 446 · used in 3 places
    do_action( 'eb_detect_block_on_page', $this->get_name(), $attributes, $block );
  • includes/Modules/StyleHandler.php line 122 · used in 2 places
    apply_filters( 'eb_generated_css_frontend_deps', array() );
  • includes/Blocks/PostMeta.php line 245 · used in 2 places
    apply_filters( 'eb_post_grid_meta_markup', [], $post_id, $custom_meta_keys );
  • includes/Blocks/FacebookFeed.php line 199 · used in 2 places
    apply_filters( 'essential_blocks/facebook_feed/posts', $posts, $attributes );
  • includes/Core/FaqSchema.php line 146
    apply_filters( 'block_parser_class', 'WP_Block_Parser' );
  • views/admin.php line 32
    do_action( 'eb_admin_page_setting' );
  • includes/Blocks/AdvancedVideo.php line 431
    apply_filters( 'eb_advanced_video_youtube_nocookie', true, $yt[ 'id' ] );
  • includes/Utils/Settings.php line 53
    do_action( 'eb_after_save_all_settings', $settings, $prev_value );
  • includes/Core/Block.php line 427
    apply_filters( 'eb_conditional_display_results', $attributes );
  • includes/Modules/StyleHandler.php line 359
    apply_filters( "eb_fixed_frontend_styles/{$blockname}", $block_css, $blockname );
  • includes/Integrations/Form.php line 56
    apply_filters( 'eb_form_before_validation', $fields, $field_settings );
  • includes/Integrations/Form.php line 128
    apply_filters( 'eb_form_block_email_body', implode( '', $prepare_body ) );
  • includes/Integrations/Form.php line 95
    do_action( 'eb_form_block_integrations', $form_id, $fields, $integrations );
  • includes/Blocks/Form.php line 151
    apply_filters( 'eb_form_confirmation_div_attr', [ 'data-confirmation-type' => esc_attr( $_essential_attributes[ 'confirmationType' ] ), 'data-success' => esc_html( $_essential_attributes[ 'successMessage' ] ), 'data-error' => esc_html( $_essential_attributes[ 'errorMessage' ] ) ], $attributes );
  • includes/Integrations/Form.php line 494
    apply_filters( 'eb_form_data_validation', $validation, $datarules, $data, $index, $formdata );
  • views/form-block.php line 45
    do_action( 'eb_form_step_indicator_html', $attributes_only['multistepdata'], $stepNavigationStyle, $enableStepCount, $enableStepIcon, $enableStepSubtitle );
  • views/form-block.php line 61
    do_action( 'eb_form_steps_button_html', $attributes_only );
  • includes/Integrations/Form.php line 159
    do_action( 'eb_form_submit_after_email', $form_id, $fields, $mail, $notification );
  • includes/Integrations/Form.php line 104
    do_action( 'eb_form_submit_before_email', $form_id, $fields, $notification );
  • includes/Blocks/Form.php line 126
    apply_filters( 'eb_form_submit_btn_attr', [ 'data-id' => $attributes[ 'blockId' ], 'data-form-id' => $attributes[ 'formId' ] ] );
  • includes/Blocks/Form.php line 131
    apply_filters( 'eb_form_submit_btn_classes', 'btn btn-primary eb-form-submit-button' );
  • includes/Core/Block.php line 120
    apply_filters( "eb_frontend_scripts/{$this->get_name()}", $this->frontend_scripts );
  • includes/Core/Block.php line 119
    apply_filters( "eb_frontend_styles/{$this->get_name()}", $this->frontend_styles );
  • includes/Utils/LiquidGlassRenderer.php line 59
    apply_filters( 'eb_liquid_glass_inject_svg', $block_content, $liquid_glass, $block['attrs'], self::$svg_rendered );
  • includes/Utils/LiquidGlassRenderer.php line 68
    apply_filters( 'eb_liquid_glass_svg_rendered', false, $liquid_glass );
  • includes/Utils/QueryHelper.php line 350
    apply_filters( 'eb_pagination_max_pages', 500 );
  • views/post-partials/carousel-markup.php line 38
    apply_filters( 'eb_post_carousel_meta_markup', array_merge( $tax_meta_html, array( 'avatar' => $avatar, 'author' => $author, 'date' => $date, 'categories' => $categories, 'tags' => $tags, 'readtime' => $readtime, ) ), $result->ID, $allMeta );
  • includes/Blocks/PostCarousel.php line 114
    apply_filters( 'eb_post_carousel_query_results', $result->posts );
  • includes/Blocks/PostGrid.php line 128
    apply_filters( 'eb_post_grid_query_results', $result->posts );
  • includes/Utils/QueryHelper.php line 398
    apply_filters( 'eb_query_allow_unbounded_per_page', false );
  • includes/Utils/QueryHelper.php line 370
    apply_filters( 'eb_query_max_id_list', 500 );
  • includes/Utils/QueryHelper.php line 360
    apply_filters( 'eb_query_max_offset', self::max_pages() * self::max_per_page() );
  • includes/Utils/QueryHelper.php line 340
    apply_filters( 'eb_query_max_per_page', 100 );
  • includes/Modules/StyleHandler.php line 601
    apply_filters( 'eb_reusable_block_template_types', $types );
  • includes/Utils/CSSParser.php line 62
    apply_filters( 'eb_style_handler_block_namespaces', [ 'essential-blocks/' ] );
  • views/woocommerce/single-product.php line 68
    apply_filters( 'eb_woo_product_grid_grid_sequence', $grid_sequence, $helper, $product, $otherArgs );
  • views/woocommerce/single-product.php line 120
    apply_filters( 'eb_woo_product_grid_list_sequence', $list_sequence, $helper, $product, $otherArgs );
  • views/product-grid.php line 21
    do_action( 'eb_woo_product_grid_taxonomy_filter', $essentialAttr );
  • includes/Core/Blocks.php line 63
    apply_filters( 'essential_blocks_block_lists', $_blocks );
  • includes/Core/Block.php line 66
    apply_filters( 'essential_blocks_block_path', $path, $this->is_pro, $name, $wp_version_check );
  • views/fb-partials/actions.php line 94
    do_action( 'essential_blocks/facebook_feed/after_actions', $post );
  • includes/Blocks/FacebookFeed.php line 221
    do_action( 'essential_blocks/facebook_feed/after_render', $attributes );
  • views/facebook-feed.php line 88
    apply_filters( 'essential_blocks/facebook_feed/ajax_payload', $ajax_payload, $attributes );
  • includes/Blocks/FacebookFeed.php line 202
    do_action( 'essential_blocks/facebook_feed/before_render', $attributes );
  • includes/Blocks/FacebookFeed.php line 299
    apply_filters( 'essential_blocks/facebook_feed/cache_ttl', $cache_ttl_minutes * MINUTE_IN_SECONDS, $attributes );
  • includes/Blocks/FacebookFeed.php line 246
    apply_filters( 'essential_blocks/facebook_feed/graph_fields', $fields, $attributes );
  • includes/Blocks/FacebookFeed.php line 341
    apply_filters( 'essential_blocks/facebook_feed/raw_response', $results, $attributes );
  • views/facebook-feed.php line 23
    apply_filters( 'essential_blocks/facebook_feed/supported_layouts', array( 'grid', 'list', 'masonry' ) );
  • views/facebook-feed.php line 62
    apply_filters( 'essential_blocks/facebook_feed/wrapper_data', array(), $attributes );
  • includes/Utils/Helper.php line 893
    apply_filters( 'woocommerce_product_thumbnails_large_size', 'full' );
  • includes/Dependencies/Insights.php line 861
    apply_filters( "wpins_form_text_{$this->plugin_name}", $form );
  • views/post-partials/category-filter.php line 15
    apply_filters( 'wpml_current_language', NULL );
  • views/post-partials/category-filter.php line 15
    apply_filters( 'wpml_default_language', NULL );
  • views/post-partials/category-filter.php line 16
    do_action( 'wpml_register_single_string', $textdomain, $string_name, $item->label );
  • views/post-partials/category-filter.php line 19
    apply_filters( 'wpml_translate_single_string', $item->label, $textdomain, $string_name );

Generated from Gutenberg Essential Blocks's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.

Can't find the right hook?

We can build the customisation for you. Describe what you need: