[ad_1]
Just to follow up on this I was able to get it resolved with the help of Beaver Builder’s support.
Here’s the snippet that fixed it, I hope it helps someone in the future!:
$actions = array(
'fl_builder_cache_cleared',
'fl_builder_after_save_layout',
'fl_builder_after_save_user_template',
);
foreach( $actions as $action ) {
add_action( $action, function() {
do_action( 'swcfpc_purge_cache' );
});
}
