Hey there. I’m trying to bulk remove every animation on any module across a site. Can’t seem to figure out how to do it.
Used a few variations of this to no avail.
$nodes = FLBuilderModel::get_nodes();
foreach($nodes as $node) {
$settings = FLBuilderModel::get_module_settings($node->id);
$settings->_animation = ‘none’;
FLBuilderModel::update_module_settings($node->id, $settings);
}