*/ public static function get(): array { $types = [ self::GENERIC => esc_html__('Generic', 'daytidy'), self::STAFF => esc_html__('Staff', 'daytidy'), self::ROOM => esc_html__('Room', 'daytidy'), self::EQUIPMENT => esc_html__('Equipment', 'daytidy'), ]; return (array) apply_filters('DayTidy/F__DayTidy/Data/ResourceTypes__get/types', $types); } public static function normalize(string $type): string { return array_key_exists($type, self::get()) ? $type : self::GENERIC; } }