/** * Kicking this off with the 'widgets_init' hook */ function layers_customizer_init() { $layers_widget = new Layers_Customizer(); $layers_widget->init(); }