You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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() and SiteOrigin_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:
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.
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: