Filter: powered_cache_compatibility_rules_registry

apply_filters( 'powered_cache_compatibility_rules_registry', $registry, $file ) → {array}

Filter the decoded compatibility rules registry.

Use this to replace or extend the bundled registry with a locally cached update source while keeping the runtime fail-closed.

Parameters:
Name Type Description
$registry array

Registry payload.

$file string

Registry file path.

Since:
  • 4.0.0
Source:
Returns:

New value.

Type
array