HT Mega Addons for Elementor 3.2.9 has 18 actions and 47 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 HT Mega Addons for Elementor fires an action
add_action( 'elementor/page_templates/header-footer/after_content', function() {
// Your code runs here.
}, 10, 1 );
// Change a value HT Mega Addons for Elementor is about to use
add_filter( 'htmega_template_import_suggest_editor_reload', function( $needs_widgets_refresh, $data ) {
// Change $needs_widgets_refresh here.
return $needs_widgets_refresh;
}, 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
-
/** * After canvas page template content. */ do_action( 'elementor/page_templates/canvas/after_content' ); -
/** * Before canvas page template content. */ do_action( 'elementor/page_templates/canvas/before_content' ); -
/** * When true, the editor scripts call Elementor `get_widgets_config` before * `document/elements/import` so newly-enabled HT Mega widgets appear in * `elementor.widgetsCache` (historic key name: reload). */ apply_filters( 'htmega_template_import_suggest_editor_reload', $needs_widgets_refresh, $data ); -
elementor/post/render
actiondo_action( 'elementor/post/render', $template_id ); -
htmegabuilder_blog_content
actiondo_action( 'htmegabuilder_blog_content' ); -
do_action( 'htmegabuilder_single_blog_content' ); -
the_title
filterapply_filters( 'the_title', $item->title, $item->ID ); -
htmega_updated
actiondo_action( 'htmega_updated', HTMEGA_VERSION, false ); -
htmegabuilder_header_content
actiondo_action( 'htmegabuilder_header_content' ); -
apply_filters( 'woocommerce_add_to_cart_product_id', absint( isset( $product_info['product_id'] ) ? $product_info['product_id'] : 0 ) ); -
apply_filters( 'woocommerce_add_to_cart_validation', true, $product_id, $quantity, $variation_id, $variations ); -
do_action( 'woocommerce_ajax_added_to_cart', $product_id ); -
apply_filters( 'woocommerce_cart_redirect_after_error', get_permalink( $product_id ), $product_id ); -
apply_filters( "{$this->slug}_settings_sanitize", isset($settings_received['blocks']) ? $settings_received['blocks'][ $setting['id'] ] : $settings_received[ $setting['id'] ], $this->errors, $setting ); -
apply_filters( "{$this->slug}_settings_sanitize_{$setting['id']}", $output, $this->errors, $setting ); -
apply_filters( 'hastech_notice_user_cap_check', current_user_can( $capability ) ); -
htmega_admin_fields
filterapply_filters( 'htmega_admin_fields', $allFields ); -
htmega_admin_fields_sections
filterapply_filters( 'htmega_admin_fields_sections', $tabs ); -
apply_filters( 'htmega_admin_fields_sub_sections', $subtabs ); -
htmega_admin_notices
actiondo_action( 'htmega_admin_notices' ); -
apply_filters( 'htmega_auto_enable_modules_on_template_import', true ); -
apply_filters( 'htmega_auto_enable_widgets_on_template_import', true ); -
htmega_block_list
filterapply_filters( 'htmega_block_list', $blockList ); -
do_action( 'htmega_collect_diagnostic_data', $diagnostic_nonce ); -
htmega_dashboard_general
filterapply_filters( 'htmega_dashboard_general', ob_get_clean() ); -
apply_filters( 'htmega_editor_preview_widget_bundle_extra_deps', array( 'slick', 'beerslider', 'easy-pie-chart', 'htmega-countdown', 'htmega-newsticker', 'isotope', 'swiper', 'magnific-popup', 'ytplayer', 'vaccordion', 'counterup', 'animated-heading', 'mapmarker', 'magnifier', 'masonry', 'imagesloaded', ) ); -
htmega_force_global_assets
filterapply_filters( 'htmega_force_global_assets', $force_standalone ); -
htmega_legacy_mode
filterapply_filters( 'htmega_legacy_mode', false ); -
htmega_license_title
filterapply_filters( 'htmega_license_title', 'lifetime' ); -
apply_filters( 'htmega_partial_migration_fixes', array() ); -
htmega_plugin_migrations
filterapply_filters( 'htmega_plugin_migrations', $migrations ); -
htmega_query_cache_skip
filterapply_filters( 'htmega_query_cache_skip', false, $args ); -
htmega_query_cache_ttl
filterapply_filters( 'htmega_query_cache_ttl', max( 0, $ttl ), $args ); -
htmega_script_list
filterapply_filters( 'htmega_script_list', $script_list ); -
apply_filters( 'htmega_sections_element_fields', array( array( 'id' => 'hero', 'name' => __( 'Hero 2026', 'ht-mega-for-elementor' ), 'type' => 'element', 'default' => 'on', 'label_on' => __( 'On', 'ht-mega-for-elementor' ), 'label_off' => __( 'Off', 'ht-mega-for-elementor' ), 'video_link' => $htmega_sections_video_links['hero'], 'doc_link' => $htmega_sections_doc_links['hero'] ), array( 'id' => 'about', 'name' => __( 'About / Feature 2026', '... ); -
apply_filters( 'htmega_sections_gutenberg_fields', array( array( 'id' => 'hero-2025', 'name' => __( 'Hero 2026', 'ht-mega-for-elementor' ), 'type' => 'element', 'default' => 'off', 'label_on' => __( 'On', 'ht-mega-for-elementor' ), 'label_off' => __( 'Off', 'ht-mega-for-elementor' ), 'video_link' => $htmega_sections_video_links['hero'], 'doc_link' => $htmega_sections_doc_links['hero'] ), array( 'id' => 'about-2025', 'name' => __( 'About / Featu... ); -
apply_filters( 'htmega_should_enqueue_global_assets', $needs ); -
htmega_sidebar_adds_banner
filterapply_filters( 'htmega_sidebar_adds_banner', $content ); -
htmega_stamp_migrations
filterapply_filters( 'htmega_stamp_migrations', array() ); -
htmega_style_list
filterapply_filters( 'htmega_style_list', $style_list ); -
apply_filters( 'htmega_template_import_module_signals', $signals, $elements, $page_settings ); -
apply_filters( 'htmega_template_import_widget_type_settings_map', $map ); -
apply_filters( 'htmega_use_vue_template_library', true ); -
htmega_wcsales_allow_html
filterapply_filters( 'htmega_wcsales_allow_html', false ); -
htmega_widget_list
filterapply_filters( 'htmega_widget_list', $widget_list ); -
htmega/register_block_args
filterapply_filters( 'htmega/register_block_args', $block ); -
htmegaopt_get_option_{$key}
filterapply_filters( "htmegaopt_get_option_{$key}", $value, $key, $default ); -
htmegaopt_get_settings
filterapply_filters( 'htmegaopt_get_settings', $settings ); -
the_content
filterapply_filters( 'the_content', get_the_content() ); -
the_excerpt
filterapply_filters( 'the_excerpt', get_the_excerpt() ); -
wcsales_product_data
filterapply_filters( 'wcsales_product_data', $p ); -
do_action( "woocommerce_{$product->get_type()}_add_to_cart" ); -
wpml_object_id
filterapply_filters( 'wpml_object_id', $item['template_id'], 'elementor_library' ); -
do_action( "wsa_form_bottom_{$form['id']}", $form ); -
wsa_form_top_{$form['id']}
actiondo_action( "wsa_form_top_{$form['id']}", $form );
Generated from HT Mega Addons for Elementor'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: