*/ public static function get(): array { $types = [ self::UNAVAILABLE => esc_html__('Unavailable', 'daytidy'), self::AVAILABLE => esc_html__('Available', 'daytidy'), ]; return (array) apply_filters('DayTidy/F__DayTidy/Data/ResourceExceptionTypes__get/types', $types); } public static function normalize(string $type): string { return array_key_exists($type, self::get()) ? $type : self::UNAVAILABLE; } }