| @@ -8,8 +8,12 @@ | ||
| 8 | 8 | namespace Automattic\Jetpack\Third_Party; |
| 9 | 9 | |
| 10 | 10 | use Automattic\Jetpack\Status\Host; |
| 11 | 11 | |
| 12 | +if ( ! defined( 'ABSPATH' ) ) { | |
| 13 | + exit( 0 ); | |
| 14 | +} | |
| 15 | + | |
| 12 | 16 | add_action( 'init', __NAMESPACE__ . '\beaverbuilder_refresh' ); |
| 13 | 17 | |
| 14 | 18 | /** |
| 15 | 19 | * If masterbar module is active force BeaverBuilder to refresh when publishing a layout. |