/** * Get Instance creates a singleton class that's cached to stop duplicate instances */ public static function get_instance() { if (!self::$instance) { self::$instance = new self(); self::$instance->init(); } return self::$instance; }
function layers_register_customizer() { $layers_customizer_reg = new Layers_Customizer_Regsitrar(); $layers_customizer_reg->init(); }