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.
Parameters
Section titled “Parameters”source
Section titled “source”string
policy
Section titled “policy”Returns
Section titled “Returns”string