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].
Hi , I created my own widgets for siteorigin page builder , but this widgets appears too in admin widget area , i want to know how to hide it from admin widget area.
Best regards
Hi Stivoox
Thanks for reaching out.
Call register_widget in a way that you can skip it on the WordPress widgets interface. is_admin and get_current_screen are the 2 functions you could consider using.