Hello Enfold support team,
So i updated to Enfold 3.0 and i’m testing the new features. Some of them will be very useful for me, and i find this major version update kind of “bugless” which is a great relief.
I found this new feature in the list : “filter so user can programmatically change the lightbox image size”. But i can’t find the filter. Could we have a link ?
Thanks and good work.
Hey!
That’s the avf_avia_builder_helper_lightbox_size filter (affects ALB attachments links), you can use it this way:
function change_lightbox_size() {
return "full"; // default is 'large'
}
add_filter('avf_avia_builder_helper_lightbox_size', 'change_lightbox_size', 10);
Source:
/config-templatebuilder/avia-template-builder/php/generic-helper.class.php:25
Regards,
Josue
Thanks Josue.