-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add more control over widget folders structure #679
Labels
Comments
Unfortunately, this isn't something we're currently interested in doing but I can definitely understand why you would want this. I'm going to put this on our backlog internally and close this one to remove it from the priority list. |
Actually, we've decided to keep this open purely for public future reference as this may have come up one or twice in the past. Internal Note: Slack |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Would be great to have some control over widget file loading process. For now it just looks for
*/*.php
pattern which is not flexible. For example, I'd like to have next directory structure:Current widgets loading process does not allow be to implement this. There is no any filters inside
SiteOrigin_Widgets_Bundle->get_widget_objects()
andSiteOrigin_Widgets_Bundle->get_widgets_list()
functions to control glob pattern.Different approach without using glob: load only registered widget files from internal storage of
SiteOrigin_Widgets_Widget_Manager
class.The text was updated successfully, but these errors were encountered: