WordPress filter hook

fl_builder_loop_settings

Fired by 3 WordPress plugins, running on 201K+ sites between them.

“Allow extension of default Values”

How to use fl_builder_loop_settings

It's a filter: your callback receives the value, and must return the (changed) value. Add this to your theme's functions.php or a small custom plugin:

functions.php
add_filter( 'fl_builder_loop_settings', function( $settings ) {
	// Change $settings here.
	return $settings;
}, 10, 1 );

Argument names come from Beaver Builder Page Builder's source. Other plugins may pass different values: check the call in the plugin you're targeting below.

3 plugins that fire fl_builder_loop_settings

Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.

  1. Beaver Builder Page Builder icon Beaver Builder Page Builder100,000+ installs apply_filters( 'fl_builder_loop_settings', $settings ) includes/ui-loop-settings-filter.php:34
  2. Orbit Fox: Duplicate Page, Menu Icons, SVG Support, Cookie Notice, Custom Fonts & More icon Orbit Fox: Duplicate Page, Menu Icons, SVG Support, Cookie Notice, Custom Fonts & More100,000+ installs apply_filters( 'fl_builder_loop_settings', $settings ) obfx_modules/beaver-widgets/modules/post-grid/includes/loop-settings.php:17
  3. Xpro Addons For Beaver Builder icon Xpro Addons For Beaver Builder700+ installs apply_filters( 'fl_builder_loop_settings', $settings ) modules/xpro-post-grid/includes/loop-settings.php:20

Need a customisation built on this hook?

Tell us what you want to change and which plugin it's for. We'll write it, test it and send it back as a small plugin.