Avada Builder Hooks: Actions and Filters
Last Update: April 30, 2023
Actions List
fusion_builder_before_init
Files:
fusion-builder/front-end/class-fusion-builder-front.php
fusion-builder/inc/class-fusion-builder.php
Description: This hook is executed before Fusion Builder initialization.
Arguments: None.xxxxxxxxxx
fusion_builder_load_templates
File: fusion-builder/front-end/class-fusion-builder-front.php
Description: This hook is executed after live editor templates are loaded.
Arguments: None.xxxxxxxxxx
fusion_builder_enqueue_live_scripts
File: fusion-builder/front-end/class-fusion-builder-front.php
Description: This hook is executed after live editor scripts are enqueued.
Arguments: None.xxxxxxxxxx
fb_library_loaded
File: fusion-builder/inc/bootstrap.php
Description: This hook is executed when library files are loaded in Fusion Builder.
Arguments: Nonexxxxxxxxxx
fusion_builder_shortcodes_init
File: fusion-builder/inc/class-fusion-builder.php
Description: This hook is executed to init shortcodes.
Arguments: Nonexxxxxxxxxx
manage_fusion_element_custom_column
File: fusion-builder/inc/class-fusion-builder-library-table.php
Description: This hook is executed for display of library element columns.
Arguments: $column_id $itemxxxxxxxxxx
fusion_builder_create_layout_after
File: fusion-builder/inc/class-fusion-builder-library.php
Description: This hook is executed after a library element is created.
Arguments: Nonexxxxxxxxxx
fusion_builder_admin_scripts_hook
File: fusion-builder/inc/class-fusion-builder.php
Description: This hook is executed after backend editor scripts are enqueued.
Arguments: Nonexxxxxxxxxx
manage_fusion_icons_custom_column
File: fusion-builder/inc/class-fusion-custom-icons-table.php
Description: This hook is executed for display of custom icons columns.
Arguments: Nonexxxxxxxxxx
fusion_filter_data
Files:
fusion-builder/inc/class-fusion-template-builder.php
fusion-builder/shortcodes/fusion-breadcrumbs.php
Description: This hook is executed to filter meta data in live editor.
Arguments: None.xxxxxxxxxx
fusion_pause_meta_filter
File: fusion-builder/inc/class-fusion-dynamic-data-callbacks.php
Description: This hook can be used to pause meta data filter in live editor.
Arguments: None.xxxxxxxxxx
fusion_resume_meta_filter
File: fusion-builder/inc/class-fusion-dynamic-data-callbacks.php
Description: This hook can be used to resume meta data filter in live editor.
Arguments: None.xxxxxxxxxx
manage_fusion_tb_section_custom_column
File: fusion-builder/inc/class-fusion-template-builder-table.php
Description: This hook is executed for display of theme builder layout section columns.
Arguments: Nonexxxxxxxxxx
fusion_pause_live_editor_filter
Files:
fusion-builder/inc/class-fusion-template-builder.php
fusion-builder/shortcodes/components/content.php
Description: This hook is executed to make actual post content non editable in live editor.
Arguments: Nonexxxxxxxxxx
fusion_resume_live_editor_filter
Files:
fusion-builder/inc/class-fusion-template-builder.php
fusion-builder/inc/class-fusion-builder-library.php
fusion-builder/shortcodes/components/content.php
Description: This hook is executed to make actual post content editable in live editor.
Arguments: Nonexxxxxxxxxx
fusion_builder_enqueue_separate_live_scripts
File: fusion-builder/front-end/class-fusion-builder-front.php
Description: This hook can be used to enqueue separate scripts when developer mode is enabled.
Arguments: Nonexxxxxxxxxx
fusion_builder_before
File: fusion-builder/inc/templates.php
Description: This hook is executed before builder templates are added.
Arguments: Nonexxxxxxxxxx
fusion_builder_after
File: fusion-builder/inc/templates.php
Description: This hook is executed after builder templates are added.
Arguments: Nonexxxxxxxxxx
fusion_builder_before_content
File: fusion-builder/inc/templates/app.php
Description: This hook is executed before builder container content is added.
Arguments: Nonexxxxxxxxxx
fusion_builder_after_content
File: fusion-builder/inc/templates/app.php
Description: This hook is executed after builder container content.
Arguments: Nonexxxxxxxxxx
fusion_before_comments
File: fusion-builder/shortcodes/components/templates/fusion-tb-comments.php
Description: This hook is executed before theme builder comments section is displayed.
Arguments: Nonexxxxxxxxxx
fusion_blog_shortcode_timeline_date
File: fusion-builder/shortcodes/fusion-blog.php
Description: This hook is executed to get blog timeline layout date.
Arguments: $date_paramsxxxxxxxxxx
fusion_blog_shortcode_before_loop
File: fusion-builder/shortcodes/fusion-blog.php
Description: This hook is executed before blog shortcode loop.
Arguments: Nonexxxxxxxxxx
fusion_blog_shortcode_after_loop
File: fusion-builder/shortcodes/fusion-blog.php
Description: This hook is executed after blog shortcode loop.
Arguments: Nonexxxxxxxxxx
fusion_blog_shortcode_date_and_format
File: fusion-builder/shortcodes/fusion-blog.php
Description: This hook is executed to get date and format section for medium alternate and large alternate layouts in blog element.
Arguments: Nonexxxxxxxxxx
fusion_render_placeholder_image
File: fusion-builder/shortcodes/fusion-events.php
Description: This hook is executed to get placeholder image in events.
Arguments: fixedxxxxxxxxxx
fusion_template_content
File: fusion-builder/templates/template-page.php
Description: This hook is executed before template builder content element is displayed.
Arguments: Nonexxxxxxxxxx
fusion_form_submission_data
File: fusion-builder/inc/class-fusion-form-submit.php
Description: This hook is executed after Fusion form submission data is ready.
Arguments: $form_data $form_post_idFilters List
xxxxxxxxxx
fusion_builder_shortcode_migration_post_types
File: Avada/includes/class-fusion-builder-migrate.php
Description: Used to support migration of Custom Post Types that use Fusion Builder elements in Avada 5.0 or higher.
Default Value: Nonexxxxxxxxxx
fusion_builder_all_elements
Files:
fusion-builder/front-end/class-fusion-builder-front.php
fusion-builder/inc/class-fusion-builder.php
fusion-builder/shortcodes/fusion-widget.php
Description: Allows to filter Fusion Builder elements for JS object.
Default Value: $fusion_builder_elementsxxxxxxxxxx
fusion_builder_element_params
Files: fusion-builder/inc/shortcodes.php
Description: Allows to filter Fusion Builder elements parameters.
Arguments: $params $shortcodexxxxxxxxxx
fusion_tb_section_tag
Files: fusion-builder/inc/class-fusion-template-builder.php
Description: Allows to filter Fusion Builder template section tag.
Arguments: $default_tag $section_namexxxxxxxxxx
fusion_portfolio_default_parameter
File: fusion-core/shortcodes/fusion-portfolio.php
Description: Let's you control the default values that should be set for portfolio element.
Default Value: $defaultsxxxxxxxxxx
fusion_portfolio_query_args
File: fusion-core/shortcodes/fusion-portfolio.php
Description: Can be used to change the actual query parameters that will be used to retrieve posts.
Default Value: $argsxxxxxxxxxx
fusion_portfolio_carousel_title
File: fusion-core/shortcodes/fusion-portfolio.php
Description: Can be used to change the title markup for portfolio carousels.
Default Value: $fusion_portfolio_carousel_titlexxxxxxxxxx
fusion_portfolio_carousel_terms
File: fusion-core/shortcodes/fusion-portfolio.php
Description: Can be used to change the terms markup for portfolio carousels.
Default Value: $carousel_termsxxxxxxxxxx
fusion_portfolio_item_video
File: fusion-core/shortcodes/fusion-portfolio.php
Description: Can be used to change the video markup.
Default Value: $video_markup: The full markup$video: The iframe tag added in the post options.
$video_max_width: Allowed maximum width the video may take up.
xxxxxxxxxx
fusion_portfolio_grid_title
File: fusion-core/shortcodes/fusion-portfolio.php
Description: Can be used to change the title markup for portfolio grids.
Default Value: $post_titlexxxxxxxxxx
fusion_portfolio_grid_terms
File: fusion-core/shortcodes/fusion-portfolio.php
Description: Can be used to change the terms markup for portfolio grids.
Default Value: $post_termsxxxxxxxxxx
fusion_portfolio_grid_separator
File: fusion-core/shortcodes/fusion-portfolio.php
Description: Can be used to change the separator markup for portfolio grids.
Default Value: $separatorxxxxxxxxxx
fusion_portfolio_grid_content
File: fusion-core/shortcodes/fusion-portfolio.php
Description: Can be used to change the content markup for portfolio grids.
Default Value: $stripped_contentxxxxxxxxxx
fusion_portfolio_grid_buttons
File: fusion-core/shortcodes/fusion-portfolio.php
Description: Can be used to change the button markup for portfolio grids.
Default Value: $buttons: “Learn More” and “View Project” buttons including the wrapper div$learn_more_button: “Learn More” button markup.
$view_project_button: “View Project” button markup.
xxxxxxxxxx
fusion_builder_blog_pagination_html
File: fusion-builder/shortcodes/fusion-blog.php
Description: Filters the HTML output of the blog element pagination.
Params: $output: The HTML output of the pagination.
$pages: Max number of pages.
$range: How many page numbers to display to either side of the current page.
$current_query: The query for which the pagination is constructed.
$blog_global_pagination: Global pagination style override.
xxxxxxxxxx
fusion_user_login_notices_array
File: fusion-builder/shortcodes/fusion-user-login.php
Description: Can be used to update the standard messages/notices for User element.
Default Value: $notice_array: They array having all notices$action: Sanitized form action.
$success: Bool success.
xxxxxxxxxx
fusion_pagination_size
Files: fusion-builder/inc/lib/inc/functions.php
fusion-builder/shortcodes/fusion-blog.php
fusion-builder/shortcodes/fusion-events.php
fusion-builder/shortcodes/fusion-recent-posts.php
Description: Allows to set the amount of page links shown left and right to the current element.
Params: $range
Default Value: 1xxxxxxxxxx
fusion_load_live_editor
Avada
Avada/includes/lib/inc/fusion-app/class-fusion-app.php
Avada/includes/lib/inc/fusion-app/fusion-app.php
Fusion Builder
fusion-builder/inc/class-fusion-builder-gutenberg.php
fusion-builder/inc/class-fusion-builder.php
Description: Filter is used to determine if live editor should be loaded or not.
Arguments: $load (boolean)
Example For Disabling: add_filter( 'fusion_load_live_editor', '__return_false', 999 );
xxxxxxxxxx
fusion_disable_antispambot
Avada
Avada/includes/avada-functions.php
Avada/includes/lib/inc/class-fusion-social-icon.php
Fusion Builder
fusion-builder/inc/lib/inc/class-fusion-social-icon.php
fusion-builder/shortcodes/fusion-person.php
fusion-builder/shortcodes/fusion-social-links.php
fusion-core/includes/widget/class-fusion-widget-contact-info.php
fusion-core/includes/widget/class-fusion-widget-social-links.php
Description: Filter to easily disable the antispambot function of WordPress for emails.
Default value: false
Example For Disabling: add_filter( 'fusion_disable_antispambot', '__return_true' );
xxxxxxxxxx
fusion_builder_default_post_types
xxxxxxxxxx
fusion_builder_allowed_post_types
File: fusion-builder/inc/class-fusion-builder.php
Description: Can be used to enable Fusion Builder for a post type by default.
Default Value: Array of post types.xxxxxxxxxx
fusion_builder_enabled_elements
File: fusion-builder/inc/shortcodes.php
Description: Can be used to enable Fusion Builder Elements.
Default Value: Array of enabled elements.xxxxxxxxxx
fusion_get_override
File: fusion-builder/inc/class-fusion-template-builder.php
Description: Can be used to modify theme builder section override.
Params: $override: The override.
$type: The type of override we're querying.
$c_page_id: Current page ID.
xxxxxxxxxx
fusion_layout_conditions_post_types
File: fusion-builder/inc/class-fusion-template-builder.php
Description: Can be used to modify theme builder layout condition post types.
Params: $post_types: The existing post types
xxxxxxxxxx
fusion_component_{$shortcode_handle}_content
fusion-builder/shortcodes/components/archives.php
fusion-builder/shortcodes/components/author.php
fusion-builder/shortcodes/components/comments.php
fusion-builder/shortcodes/components/content.php
fusion-builder/shortcodes/components/featured-slider.php
fusion-builder/shortcodes/components/pagination.php
fusion-builder/shortcodes/components/related.php
Description: Allows to modify Theme Builder component content.
Params: $shortcode_handle: Component name.
$html: Component HTML.
$args: Component Options.