Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].
I want to limit the widgets in “Add Widgets” to only the widgets are necessary for a project.
Is it possible to customize it somehow like in the “siteoriging widgets bundle” ?
To remove all or specific widgets you can use this:
function so_widgets_filter( $widgets ) { $widgets = array(); // delete all widgets return $widgets; } add_filter('siteorigin_panels_widgets', 'so_widgets_filter');To just remove recommended widgets:
remove_filter('siteorigin_panels_widgets', 'siteorigin_panels_add_recommended_widgets');Hope that helps! It worked great for me.