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].
Is there a hook / filter to remove all the default Row Styles? We have some custom options which are all the changes users need to make.
Is there a standard way to deactivate these, or should we unset all the fields using `siteorigin_panels_row_style_fields`?
Are there any fields we shouldn’t unset?
Hi Tarei
I haven’t actually thought to much about how to disable all this default stuff. Are you planning on implementing your own set of row styles?
Your idea of unsetting all the fields you don’t want will work. Another option would be to use remove_filter to remove all the filters created in the SiteOrigin_Panels_Default_Styling class in inc/default-styles.php. You could probably remove these filters on the after_setup_theme action.
Hi Greg,
Yes, rolling our own set of row Styles. I ended up unsetting all the fields, but will likely remove_filter as you suggested. Just wanted to make sure we weren’t gonna run into trouble after unsetting the fields.