$colors */ $colors = (array) Settings::get( 'colors', [] ); /** @var array $resolved */ $resolved = (array) apply_filters( 'fxlc_email_palette', $colors ); $value = $resolved[ $key ] ?? ''; return is_string( $value ) ? $value : ''; } }