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.
// 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
-
eb_post_grid_search_form
action/** * Add search form */ do_action( 'eb_post_grid_search_form', $essentialAttr ); -
eb_advanced_video_dimensions
filter/** * Filters the size of a self-hosted Advanced Video file. */ apply_filters( 'eb_advanced_video_dimensions', is_array( $hit ) ? $hit : null, $url ); -
eb_after_blank_content
action/** * Hooks anything after content */ do_action( 'eb_after_blank_content' ); -
eb_after_fullwidth_content
action/** * Hooks anything after content */ do_action( 'eb_after_fullwidth_content' ); -
/** * Fires after reset a specific settings key */ do_action( "eb_after_reset_{$key}_settings", $prev_value ); -
/** * Fires after save a specific settings key */ do_action( "eb_after_save_{$key}_settings", $value, $prev_value ); -
eb_before_blank_content
action/** * Hooks anything before content */ do_action( 'eb_before_blank_content' ); -
eb_before_fullwidth_content
action/** * Hooks anything before content */ do_action( 'eb_before_fullwidth_content' ); -
eb_block_meta_css
filter/** * Filter a block's saved generated CSS before it is collected. */ apply_filters( 'eb_block_meta_css', $blockMeta, $item ); -
eb_blocks_generated_css
filter/** * Filter the generated CSS before it's written to file. */ apply_filters( 'eb_blocks_generated_css', $css, $style_object ); -
eb_frontend_assets
action/** * Hooks assets for enqueue in frontend */ do_action( 'eb_frontend_assets', $this->style_dir, $this->style_url ); -
eb_hero_background_preloads
filter/** * Filter the hero background preloads for a post. */ apply_filters( 'eb_hero_background_preloads', self::hero_images( (string) $post->post_content ), $post ); -
/** * Filters whether Essential Blocks strips its editor styles in the Customizer. */ apply_filters( 'essential_blocks_dequeue_customizer_editor_styles', true ); -
essential_blocks::init
action/** * Initialize. */ do_action( 'essential_blocks::init' ); -
/** * Filters the Graph API query args before the request is built. */ apply_filters( 'essential_blocks/facebook_feed/query_args', $query_args, $attributes ); -
/** * Allowed attributes in SVG file. */ apply_filters( 'essential_blocks/files/svg/allowed_attributes', $allowed_attributes ); -
/** * Allowed elements in SVG file. */ apply_filters( 'essential_blocks/files/svg/allowed_elements', $allowed_elements ); -
active_plugins
filterapply_filters( 'active_plugins', get_option('active_plugins') ); -
eb_dynamic_tag_value
filterapply_filters( 'eb_dynamic_tag_value', $decoded, $decoded, true ); -
eb_detect_block_on_page
actiondo_action( 'eb_detect_block_on_page', $this->get_name(), $attributes, $block ); -
apply_filters( 'eb_generated_css_frontend_deps', array() ); -
eb_post_grid_meta_markup
filterapply_filters( 'eb_post_grid_meta_markup', [], $post_id, $custom_meta_keys ); -
apply_filters( 'essential_blocks/facebook_feed/posts', $posts, $attributes ); -
block_parser_class
filterapply_filters( 'block_parser_class', 'WP_Block_Parser' ); -
eb_admin_page_setting
actiondo_action( 'eb_admin_page_setting' ); -
apply_filters( 'eb_advanced_video_youtube_nocookie', true, $yt[ 'id' ] ); -
eb_after_save_all_settings
actiondo_action( 'eb_after_save_all_settings', $settings, $prev_value ); -
apply_filters( 'eb_conditional_display_results', $attributes ); -
apply_filters( "eb_fixed_frontend_styles/{$blockname}", $block_css, $blockname ); -
eb_form_before_validation
filterapply_filters( 'eb_form_before_validation', $fields, $field_settings ); -
eb_form_block_email_body
filterapply_filters( 'eb_form_block_email_body', implode( '', $prepare_body ) ); -
eb_form_block_integrations
actiondo_action( 'eb_form_block_integrations', $form_id, $fields, $integrations ); -
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 ); -
eb_form_data_validation
filterapply_filters( 'eb_form_data_validation', $validation, $datarules, $data, $index, $formdata ); -
eb_form_step_indicator_html
actiondo_action( 'eb_form_step_indicator_html', $attributes_only['multistepdata'], $stepNavigationStyle, $enableStepCount, $enableStepIcon, $enableStepSubtitle ); -
eb_form_steps_button_html
actiondo_action( 'eb_form_steps_button_html', $attributes_only ); -
eb_form_submit_after_email
actiondo_action( 'eb_form_submit_after_email', $form_id, $fields, $mail, $notification ); -
eb_form_submit_before_email
actiondo_action( 'eb_form_submit_before_email', $form_id, $fields, $notification ); -
eb_form_submit_btn_attr
filterapply_filters( 'eb_form_submit_btn_attr', [ 'data-id' => $attributes[ 'blockId' ], 'data-form-id' => $attributes[ 'formId' ] ] ); -
eb_form_submit_btn_classes
filterapply_filters( 'eb_form_submit_btn_classes', 'btn btn-primary eb-form-submit-button' ); -
apply_filters( "eb_frontend_scripts/{$this->get_name()}", $this->frontend_scripts ); -
apply_filters( "eb_frontend_styles/{$this->get_name()}", $this->frontend_styles ); -
eb_liquid_glass_inject_svg
filterapply_filters( 'eb_liquid_glass_inject_svg', $block_content, $liquid_glass, $block['attrs'], self::$svg_rendered ); -
eb_liquid_glass_svg_rendered
filterapply_filters( 'eb_liquid_glass_svg_rendered', false, $liquid_glass ); -
eb_pagination_max_pages
filterapply_filters( 'eb_pagination_max_pages', 500 ); -
eb_post_carousel_meta_markup
filterapply_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 ); -
apply_filters( 'eb_post_carousel_query_results', $result->posts ); -
eb_post_grid_query_results
filterapply_filters( 'eb_post_grid_query_results', $result->posts ); -
apply_filters( 'eb_query_allow_unbounded_per_page', false ); -
eb_query_max_id_list
filterapply_filters( 'eb_query_max_id_list', 500 ); -
eb_query_max_offset
filterapply_filters( 'eb_query_max_offset', self::max_pages() * self::max_per_page() ); -
eb_query_max_per_page
filterapply_filters( 'eb_query_max_per_page', 100 ); -
apply_filters( 'eb_reusable_block_template_types', $types ); -
apply_filters( 'eb_style_handler_block_namespaces', [ 'essential-blocks/' ] ); -
apply_filters( 'eb_woo_product_grid_grid_sequence', $grid_sequence, $helper, $product, $otherArgs ); -
apply_filters( 'eb_woo_product_grid_list_sequence', $list_sequence, $helper, $product, $otherArgs ); -
do_action( 'eb_woo_product_grid_taxonomy_filter', $essentialAttr ); -
essential_blocks_block_lists
filterapply_filters( 'essential_blocks_block_lists', $_blocks ); -
essential_blocks_block_path
filterapply_filters( 'essential_blocks_block_path', $path, $this->is_pro, $name, $wp_version_check ); -
do_action( 'essential_blocks/facebook_feed/after_actions', $post ); -
do_action( 'essential_blocks/facebook_feed/after_render', $attributes ); -
apply_filters( 'essential_blocks/facebook_feed/ajax_payload', $ajax_payload, $attributes ); -
do_action( 'essential_blocks/facebook_feed/before_render', $attributes ); -
apply_filters( 'essential_blocks/facebook_feed/cache_ttl', $cache_ttl_minutes * MINUTE_IN_SECONDS, $attributes ); -
apply_filters( 'essential_blocks/facebook_feed/graph_fields', $fields, $attributes ); -
apply_filters( 'essential_blocks/facebook_feed/raw_response', $results, $attributes ); -
apply_filters( 'essential_blocks/facebook_feed/supported_layouts', array( 'grid', 'list', 'masonry' ) ); -
apply_filters( 'essential_blocks/facebook_feed/wrapper_data', array(), $attributes ); -
apply_filters( 'woocommerce_gallery_full_size', apply_filters( 'woocommerce_product_thumbnails_large_size', 'full' ) ); -
apply_filters( 'woocommerce_gallery_image_size', $main_image ? 'woocommerce_single' : $thumbnail_size ); -
apply_filters( 'woocommerce_gallery_thumbnail_size', array( $gallery_thumbnail[ 'width' ], $gallery_thumbnail[ 'height' ] ) ); -
apply_filters( 'woocommerce_product_thumbnails_large_size', 'full' ); -
apply_filters( "wpins_form_text_{$this->plugin_name}", $form ); -
wpml_current_language
filterapply_filters( 'wpml_current_language', NULL ); -
wpml_default_language
filterapply_filters( 'wpml_default_language', NULL ); -
wpml_register_single_string
actiondo_action( 'wpml_register_single_string', $textdomain, $string_name, $item->label ); -
wpml_translate_single_string
filterapply_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: