Filter: self::MAPPING_FALLBACK_FILTER
Filters the mapping used when the main mapping table has no match.
Runs at sunrise, before regular plugins load, so register it from an add-on sunrise.php. Add-ons that store mappings elsewhere (for example per-network tables) return the raw mapping row here.
Parameters
| Name | Type | Description |
|---|---|---|
| $mapping | object|null | Raw mapping row with the domain_mappings columns, or null. |
| $domains | string[] | Domain names searched. |
Since
- 2.18.0