Closed dunklerfox closed 2 years ago
Thanks, @dunklerfox!
I think it'll just need an additional check around that code to determine if Divi is active on the site.
From this search, looks like ET_Builder_Library
may be the class to check for existence?
(so that this code doesn't run unnecessarily for users without Divi)
@leonstafford I'm thinking about adding an advanced option with a list of dirs and turning this into a for loop over that list.
I have no idea if this is the correct implementation for this. I have tested this code on a single deployment and it appears to be working correctly.