/** * Get a types object. * * @see FieldsandfiltersTypes * @since 1.2.0 */ public static function getTypes() { if (!self::$types) { self::$types = FieldsandfiltersTypes::getInstance(); } return self::$types; }