Extending the widgets
-
Hello,
I’m looking to do deep integration into my theme with this plugin, and in the button widget I would like to make font size extra large even larger to fit in with my themeI’m making a plugin that would extend this plugin but there doesn’t seem to be any hooks I narrowed my search to the SiteOrigin_Widget_Button_Widget class and can see the variables being set inside the constructor but that’s not something I don’t think I can easily override (due to plugin load order).
Is it viable to extend the class and reimplement the constructor and somehow turn off the SiteOrigin_widget_button_widget class in favour of my extended version? Or is there a easier way of doing this?
- The topic ‘Extending the widgets’ is closed to new replies.