MAS Elementor 1.2.3 has 24 actions and 69 filters, read directly from its source code on Nov 18, 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 MAS Elementor fires an action
add_action( 'mas_elementor_shop_control_bar', function() {
// Your code runs here.
}, 10, 1 );
// Change a value MAS Elementor is about to use
add_filter( 'mas_elementor/query_control/get_query_args/current_query', function( $current_query_vars ) {
// Change $current_query_vars here.
return $current_query_vars;
}, 10, 1 );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
-
/** * Current query variables. */ apply_filters_deprecated( 'mas_elementor/query_control/get_query_args/current_query', array( $current_query_vars ), '2.5.0', 'elementor/query/get_query_args/current_query' ); -
/** * Before location content printed. */ do_action( "elementor/theme/before_do_{$location}", $this ); -
/** * The archive title. */ apply_filters( 'elementor/utils/get_the_archive_title', $title ); -
/** * This action is documented in modules/custom-post-types/nova.php */ apply_filters( 'jetpack_enable_cpt', false, self::CUSTOM_POST_TYPE ); -
/** * Change the Portfolio thumbnail size. */ apply_filters( 'jetpack_portfolio_thumbnail_size', 'large' ); -
/** * Hooks. */ do_action( 'mas_elementor_shop_control_bar' ); -
/** * MAS Elementor posts widget Query args. */ do_action_deprecated( "mas_elementor/{$widget_name}/query/{$query_id}", array( $wp_query, $this->widget ), '2.5.0', "elementor/query/{$query_id}" ); -
/** * MAS Elementor init. */ do_action( 'mas_elementor/init' ); -
/** * Public Post types */ apply_filters( 'mas_elementor/utils/get_public_post_types', $post_types ); -
/** * Filter the class applied to project div in the portfolio */ apply_filters( 'portfolio-project-post-class', implode( ' ', $class ), $portfolio_index_number, $columns ); -
/** * This filter is documented in wp-includes/post-template.php */ apply_filters( 'the_title', $item->title, $item->ID ); -
/** * Filter tabs and allow third parties to add their own. */ apply_filters( 'woocommerce_product_tabs', array() ); -
apply_filters( 'the_content', $content ); -
apply_filters( "elementor/query/{$filter_name}/display/{$display}", $term_name, $request ); -
apply_filters( 'mas_register_password_enabled', true ); -
apply_filters( 'paginate_links', $link ); -
apply_filters( 'acf/field_group/get_fields', array(), $acf_group['id'] ); -
apply_filters( 'acf/get_field_groups', array() ); -
do_action( "elementor/query/{$query_id}", $wp_query, $this->widget ); -
apply_filters( 'elementor/query/fallback_query_args', $this->fallback_args, $this->widget ); -
apply_filters( "elementor/query/get_autocomplete/{$data['filter_type']}", array(), $data ); -
apply_filters( "elementor/query/get_autocomplete/{$query_data['filter_type']}", $results, $data ); -
apply_filters( "elementor/query/get_autocomplete/custom/{$display}", true, $post, $data ); -
apply_filters( "elementor/query/get_autocomplete/tax/{$display}", true, $term, $data ); -
apply_filters( "elementor/query/get_autocomplete/user/{$display}", true, $user, $data ); -
elementor/query/get_query_args/current_query
filter Used by 7 plugins → Copy link Customise this hookapply_filters( 'elementor/query/get_query_args/current_query', $current_query_vars ); -
apply_filters( "elementor/query/get_value_titles/{$query_data['filter_type']}", $results, $request ); -
apply_filters( "elementor/query/get_value_titles/{$request['filter_type']}", array(), $request ); -
apply_filters( "elementor/query/get_value_titles/custom/{$display}", true, $post, $request ); -
apply_filters( "elementor/query/get_value_titles/tax/{$display}", true, $term, $request ); -
apply_filters( "elementor/query/get_value_titles/user/{$display}", true, $user, $request ); -
apply_filters( 'elementor/query/query_args', $this->query_args, $this->widget ); -
do_action( 'elementor/query/query_results', $query, $this->widget ); -
do_action( "elementor/theme/after_do_{$location}", $this ); -
do_action( 'lostpassword_post' ); -
apply_filters( 'mas_add_style_tag', $allowed ); -
apply_filters( 'mas_brand_link', get_term_link( $term ), $term ); -
do_action( 'mas_breadcrumb', $breadcrumbs, $args ); -
apply_filters( 'mas_breadcrumb_defaults', array( 'delimiter' => '', 'wrap_before' => '<nav aria-label="breadcrumb" class="mas-breadcrumb"><ol>', 'wrap_after' => '</ol></nav>', 'before' => '<li class="mas_breadcrumb_li">', 'after' => '</li>', 'home' => _x( 'Home', 'breadcrumb', 'mas-addons-for-elementor' ), ) ); -
apply_filters( 'mas_breadcrumb_home_url', home_url() ); -
apply_filters( 'mas_breadcrumb_html', $output ); -
do_action( 'mas_elementor_after_template_part', $action_args['template_name'], $action_args['template_path'], $action_args['located'], $action_args['args'] ); -
do_action( 'mas_elementor_before_template_part', $action_args['template_name'], $action_args['template_path'], $action_args['located'], $action_args['args'] ); -
apply_filters( 'mas_elementor_get_path_define_tokens', $path_tokens ); -
apply_filters( 'mas_elementor_get_template', $template, $template_name, $args, $template_path, $default_path ); -
apply_filters( 'mas_elementor_locate_template', $template, $template_name, $template_path ); -
apply_filters( 'mas_elementor_product_options_inventory_product_data', true ); -
apply_filters( 'mas_elementor_shop_views_args', array( 'mas-grid' => array( 'label' => esc_html__( 'Grid View', 'mas-addons-for-elementor' ), 'icon' => 'fa fa-th', 'enabled' => true, 'active' => true, ), 'mas-grid-extended' => array( 'label' => esc_html__( 'Grid Extended View', 'mas-addons-for-elementor' ), 'icon' => 'fa fa-align-justify', 'enabled' => true, 'active' => false, ), 'mas-list-view' => array( 'label' => esc_html__( 'List View', ... ); -
apply_filters( 'mas_elementor_templates_editor_localize', array( 'Elementor_Version' => ELEMENTOR_VERSION, 'PremiumTemplatesBtn' => Templates\premium_templates()->config->get( 'premium_temps' ), 'modalRegions' => $this->get_modal_region(), 'license' => array( 'status' => Templates\premium_templates()->config->get( 'status' ), 'activateLink' => Templates\premium_templates()->config->get( 'license_page' ), 'proMessage' => Templates\premium_templates()->... ); -
apply_filters( "mas_elementor_wpjm_get_{$page}_page_id", $page_id ); -
mas_elementor/query_control/get_autocomplete/{$data['filter_type']}
filter Copy link Customise this hookapply_filters_deprecated( "mas_elementor/query_control/get_autocomplete/{$data['filter_type']}", $data, '3.0.0', 'elementor/query/get_autocomplete/' . $data['filter_type'] ); -
mas_elementor/query_control/get_value_titles/{$request['filter_type']}
filter Copy link Customise this hookapply_filters_deprecated( "mas_elementor/query_control/get_value_titles/{$request['filter_type']}", $request, '3.0.0', 'elementor/query/get_value_titles/' . $request['filter_type'] ); -
apply_filters( 'mas_extensions_enable_portfolio', true ); -
apply_filters( 'mas_get_breadcrumb', $this->crumbs, $this ); -
apply_filters( 'mas_new_user_notification', false ); -
apply_filters( 'mas_option_enabled_post_types', $post_types ); -
apply_filters( 'mas_option_enabled_taxonomies', $taxonomies ); -
apply_filters( 'mas_post_content_allowed_posttypes', get_post_types( array( 'public' => true, ) ) ); -
apply_filters( 'mas_post_content_exclude_posttype', array( 'page' ) ); -
apply_filters( 'mas_post_content_recursive_variable', false ); -
do_action( "mas_process_{$post->post_type}_meta", $post_id, $post ); -
apply_filters( 'mas_redirect_login_url', $redirect_url ); -
apply_filters( 'mas_redirect_register_url', $redirect_url, $user ); -
apply_filters( 'mas_register_user_name_enabled', true ); -
do_action( 'mas_wp_login_form_custom_field_validation' ); -
do_action( 'mas_wp_register_form_custom_field_validation' ); -
apply_filters( 'the_date', get_the_modified_date(), get_option( 'date_format' ), '', '' ); -
do_action( 'woocommerce_after_shop_loop' ); -
do_action( 'woocommerce_before_shop_loop' ); -
do_action( 'woocommerce_cart_coupon' ); -
apply_filters( "woocommerce_product_{$key}_tab_title", $product_tab['title'], $key ); -
do_action( 'woocommerce_product_after_tabs' ); -
do_action( 'woocommerce_product_meta_end' ); -
do_action( 'woocommerce_product_meta_start' ); -
apply_filters( 'woocommerce_quantity_input_max', $product->get_max_purchase_quantity(), $product ); -
apply_filters( 'woocommerce_quantity_input_min', $product->get_min_purchase_quantity(), $product ); -
apply_filters( 'woocommerce_session_handler', 'WC_Session_Handler' ); -
do_action( "woocommerce_shortcode_{$this->type}_loop_no_results", $this->attributes ); -
do_action( "woocommerce_shortcode_after_{$this->type}_loop", $this->attributes ); -
do_action( "woocommerce_shortcode_before_{$this->type}_loop", $this->attributes ); -
apply_filters( 'woocommerce_shortcode_products_query', $query_args, $this->attributes, $this->type );
Generated from MAS Elementor's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Done for you
Rather have it built for you?
Tell us what should change and we’ll write and test the code using these hooks.
Custom hook snippet
from $49
A small, update-safe change built on the plugin’s own hooks.
- Code written against the plugin’s actions and filters
- Tested on a staging copy of your site
- Install instructions included
Typical turnaround: 2–3 business days
Choose thisPlugin customisation
from $149
New features or changed behaviour, without editing the plugin’s files.
- Built as a companion plugin, so updates never wipe it
- Exact quote before we start
- Tested on staging, then deployed
Typical turnaround: 3–7 business days
Choose thisNot sure which fits? Describe what you need and we’ll suggest the simplest option.
Can't find the right hook?
We can build the customisation for you. Describe what you need: