/** * Initiator */ public static function get_instance() { if (!isset(self::$instance)) { self::$instance = new Layers_Post_Types(); } return self::$instance; }
function layers_register_post_types() { $layers_post_types = new Layers_Post_Types(); $layers_post_types->init(); }