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