Liigu peamise sisu juurde

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​

NameTypeDescription
$mappingobject|nullRaw mapping row with the domain_mappings columns, or null.
$domainsstring[]Domain names searched.

Since​

  • 2.18.0

Source​

Defined in inc/models/class-domain.php at line 746