debug-bar
5 years ago
3rd-party.php
5 years ago
bbpress.php
5 years ago
beaverbuilder.php
5 years ago
bitly.php
5 years ago
buddypress.php
5 years ago
class-domain-mapping.php
5 years ago
class-jetpack-bbpress-rest-api.php
5 years ago
class-jetpack-crm-data.php
5 years ago
class-jetpack-modules-overrides.php
5 years ago
class.jetpack-amp-support.php
5 years ago
creative-mail.php
5 years ago
crowdsignal.php
5 years ago
debug-bar.php
5 years ago
qtranslate-x.php
5 years ago
vaultpress.php
5 years ago
web-stories.php
5 years ago
woocommerce-services.php
5 years ago
woocommerce.php
5 years ago
wpml.php
5 years ago
beaverbuilder.php
20 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Beaverbuilder Compatibility. |
| 4 | * |
| 5 | * @package automattic/jetpack |
| 6 | */ |
| 7 | |
| 8 | namespace Automattic\Jetpack\Third_Party; |
| 9 | |
| 10 | add_action( 'init', __NAMESPACE__ . '\beaverbuilder_refresh' ); |
| 11 | |
| 12 | /** |
| 13 | * If masterbar module is active force BeaverBuilder to refresh when publishing a layout. |
| 14 | */ |
| 15 | function beaverbuilder_refresh() { |
| 16 | if ( \Jetpack::is_module_active( 'masterbar' ) ) { |
| 17 | add_filter( 'fl_builder_should_refresh_on_publish', '__return_true' ); |
| 18 | } |
| 19 | } |
| 20 |