/** * Return the current class instance. * * @since 4.0.0 * * @return object The instance of the current class. */ public static function get_instance() { if (self::$instance == null) { self::$instance = new self(); } return self::$instance; }