What's the difference between them and when should we use each one ?
I'm using wp_register_sidebar_widget
right now and it's working fine but I've seen a lot of tutorials online on how to create a widget using register_widget and a class, most of my widgets doesn't need options so should I stick to wp_register_sidebar_widget
or should I use register_widget
even if I don't have a form ?
thanks in advance.