%PDF- %PDF-
Direktori : /home/emergentqj/jugement/wp-content/plugins/jetpack/3rd-party/ |
Current File : /home/emergentqj/jugement/wp-content/plugins/jetpack/3rd-party/beaverbuilder.php |
<?php /** * Beaverbuilder Compatibility. */ class Jetpack_BeaverBuilderCompat { function __construct() { add_action( 'init', array( $this, 'beaverbuilder_refresh' ) ); } /** * If masterbar module is active force BeaverBuilder to refresh when publishing a layout. */ function beaverbuilder_refresh() { if ( Jetpack::is_module_active( 'masterbar' ) ) { add_filter( 'fl_builder_should_refresh_on_publish', '__return_true' ); } } } new Jetpack_BeaverBuilderCompat();