| Server IP : 23.94.149.180 / Your IP : 216.73.216.147 Web Server : nginx/1.20.1 System : Linux deadrock 5.14.0-741.22.1.el9_9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Nov 12 15:18:14 UTC 2026 x86_64 User : apache ( 48) PHP Version : 8.6.0 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /files/webmaint/corey/website/wp-content/plugins/jetpack/3rd-party/ |
Upload File : |
<?php
/**
* Beaverbuilder Compatibility.
*
* @package automattic/jetpack
*/
namespace Automattic\Jetpack\Third_Party;
use Automattic\Jetpack\Status\Host;
if ( ! defined( 'ABSPATH' ) ) {
exit( 0 );
}
add_action( 'init', __NAMESPACE__ . '\beaverbuilder_refresh' );
/**
* If masterbar module is active force BeaverBuilder to refresh when publishing a layout.
*/
function beaverbuilder_refresh() {
if ( ( new Host() )->is_woa_site() ) {
add_filter( 'fl_builder_should_refresh_on_publish', '__return_true' );
}
}