Skip to content

updatePluginHeaderCompatibility

updatePluginHeaderCompatibility(source, policy): string

Defined in: wp-typia-project-tools/src/runtime/scaffold-compatibility.ts:238

Patch a generated plugin bootstrap header without lowering custom floors.

Preserves the original header line endings while replacing empty or invalid version strings with the policy values.

string

ScaffoldCompatibilityPolicy

string