Xpro Theme Builder For Elementor 1.2.16 has 4 actions and 28 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 Xpro Theme Builder For Elementor fires an action
add_action( 'wp_body_open', function() {
// Your code runs here.
}, 10, 1 );
// Change a value Xpro Theme Builder For Elementor is about to use
add_filter( 'xpro_display_on_list', function( $selection_options ) {
// Change $selection_options here.
return $selection_options;
}, 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
-
xpro_display_on_list
filter/** * Filter options displayed in the display conditions select field of Display * conditions. */ apply_filters( 'xpro_display_on_list', $selection_options ); -
xpro_user_roles_list
filter/** * Filter options displayed in the user select field of Display conditions. */ apply_filters( 'xpro_user_roles_list', $selection_options ); -
wp_body_open
actiondo_action( 'wp_body_open' ); -
apply_filters( 'xpro_get_display_posts_by_conditions', self::$current_page_data[ $post_type ], $post_type ); -
apply_filters( 'enable_xpro_theme_builder_render_archive', true ); -
apply_filters( 'enable_xpro_theme_builder_render_header', true ); -
apply_filters( 'enable_xpro_theme_builder_render_singular', true ); -
apply_filters( 'get_xpro_theme_builder_archive_id', $archive_id ); -
apply_filters( 'get_xpro_theme_builder_header_id', $header_id ); -
apply_filters( 'get_xpro_theme_builder_singular_id', $singular_id ); -
wpml_object_id
filterapply_filters( 'wpml_object_id', $id ); -
xpro_header
actiondo_action( 'xpro_header' ); -
apply_filters( 'xpro_location_rule_post_types', array_merge( $post_types, $custom_post_type ) ); -
xpro_target_page_settings
filterapply_filters( 'xpro_target_page_settings', $current_layout, $layout_id ); -
apply_filters( 'xpro_theme_builder_archive_enabled', $status ); -
apply_filters( 'xpro_theme_builder_auto_sidebar_id', $ids ? (int) $ids[0] : false, $position ); -
apply_filters( 'xpro_theme_builder_custom_sidebars', $sidebars ); -
apply_filters( "xpro_theme_builder_get_settings_{$setting}", $template ); -
apply_filters( 'xpro_theme_builder_header_enabled', $status ); -
xpro_theme_builder_loaded
actiondo_action( 'xpro_theme_builder_loaded' ); -
apply_filters( 'xpro_theme_builder_render_template_id', intval( $atts['id'] ) ); -
apply_filters( 'xpro_theme_builder_selected_sidebar_id', $id, $position ); -
apply_filters( 'xpro_theme_builder_sidebar_layout_keys', array( 'xpro-sidebar-layout', 'xpro-main-sidebar-layout', 'xpro-sidebar', 'xpro_sidebar_layout', 'sidebar-layout', ) ); -
apply_filters( 'xpro_theme_builder_sidebar_markup', $html, $id, $position ); -
apply_filters( 'xpro_theme_builder_sidebar_position', '', $index ); -
apply_filters( 'xpro_theme_builder_sidebar_positions', array( 'xpro-main-sidebar' => '', 'xpro-woocommerce-sidebar' => '', 'sidebar-1' => '', 'sidebar' => '', 'sidebar-main' => '', 'primary-sidebar' => '', 'sidebar-left' => 'left', 'sidebar-right' => 'right', ) ); -
apply_filters( 'xpro_theme_builder_singular_enabled', $status ); -
apply_filters( 'xpro_theme_builder_theme_sidebar_layout', $raw );
Generated from Xpro Theme Builder 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: