base = DFlip::get_instance(); } /** * Returns the singleton instance of the class. * * @since 1.0.0 * * @return object dFlip_PostType object. */ public static function get_instance() { if ( ! isset( self::$instance ) && ! ( self::$instance instanceof DFlip_Editor ) ) { self::$instance = new DFlip_Editor(); } return self::$instance; } } // Load the _ class. $dflip_edtior = DFlip_Editor::get_instance();