There is a comprehensive Hook & Filter Reference but here's a list of some commonly used filters and their potential uses. This article is aimed at developers and assumes that you know where to put the code and how to tweak it
In WP admin lists of pages, posts, you can click a Beaver Builder link that shows only the items that have Beaver Builder layouts. The link is shown in this screenshot.
If you'd like to disable that feature altogether, use the filter
The Beaver Builder editor remembers the last tab used in the row/column/module settings window. If you want to disable that and have the row, column, or module settings window always open at the first tab, use the filter
By default, when you disable modules in Settings > Beaver Builder > Modules, they do not appear in the module list in the Beaver Builder editor, but any modules of that type already used in layouts are still displayed on web pages.
You can change the behavior in Settings > Beaver Builder > Modules so that when you disable modules they don't load or render in either the front end or the editor, and before you disable them you'll be able to see how many modules of that type are already in use. This is done by setting the
is_module_disable_enabled filter to
true. Add the following line of code to the functions.php file in your child theme.
The Slideshow module is required for row background slideshows to function.
After you've added this filter, you'll see module counts displayed at Settings > Beaver Builder > Modules so you can see if there are existing modules that will be blocked from loading and rendering, as shown in the following screenshot.
It shows how many times each module is used in pages, posts, and "Templates." The "Templates" category applies both to saved layout templates and to saved rows, columns, and modules.
When you clear a checkbox to disable a module, it will not appear for selection in the Beaver Builder editor and any existing modules of that type will not load or render on the page.
You can completely disable inline editing by using the
There's a bell icon in the Beaver Builder editor UI that, when clicked, shows notifications that are issued by Beaver Builder. You can disable the notifications with the filter
Use this filter to filter the results of the builder’s front-end AJAX actions. For example, for save_settings the filter would be
See the classes/class-fl-builder-ajax.php file for a complete list of core AJAX actions that can be appended to the flajax* filter.
Use this filter to modify the post types that are shown in the admin settings for enabling and disabling post types.
Use this filter to work with the custom class a user adds to a column under Column Settings > Advanced > Class.
Use this filter to modify the upload directory path and URL that the builder uses to store things like the cache and custom icons.
Use this filter to add dependencies to the dependency array when the main builder layout CSS file is enqueued using
Use this filter to enable double opt-ins for MailChimp integrations. Returning
true enables double opt-ins; returning
false enables single opt-ins. The default return value for this filter is false.
Use this filter to add custom module categories that will show up before the default module categories in the builder’s UI. Note these categories only show if they contain modules.
Use this filter to work with the custom class a user adds to a module in the Class field on the Advanced tab.
Use this filter to modify the post types that the builder works with.
Use this filter to override the modules that are enabled in the builder.
Use this filter to modify the config array for a settings form when it is registered.
Use this filter to modify the CSS that is compiled and cached for each builder layout.
Use this filter to modify the config array for a field before it is rendered.
Use this filter to prevent the builder from rendering shortcodes. It is useful if you don’t want shortcodes rendering while the builder UI is active.
Use this filter to work with the custom class a user adds to a row under Row Settings > Advanced > Class.
Use this filter to change the defaults for any of the settings forms in the builder including global, row, column and module settings.
Use this filter to modify the upgrade URL in Beaver Builder Lite. This can be used to add an affiliate ID.