File Editor
Directories:
.. (Back)
debug-bar
Files:
3rd-party.php
amp.php
atomic.php
bbpress.php
beaverbuilder.php
bitly.php
buddypress.php
class-domain-mapping.php
class-jetpack-bbpress-rest-api.php
class-salesforce-lead-form.php
class.jetpack-amp-support.php
creative-mail.php
debug-bar.php
jetpack-backup.php
jetpack-boost.php
qtranslate-x.php
vaultpress.php
web-stories.php
woocommerce-services.php
woocommerce.php
wpcom-reader.php
wpml.php
Create New File
Create
Edit File: beaverbuilder.php
<?php /** * Beaverbuilder Compatibility. * * @package automattic/jetpack */ namespace Automattic\Jetpack\Third_Party; use Automattic\Jetpack\Status\Host; 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' ); } }
Save Changes
Rename File
Rename