Skip to main content

Filter: wu_use_domain_mapping

Determine whether a mapping should be used

Typically, you'll want to only allow active mappings to be used. However, if you want to use more advanced logic, or allow non-active domains to be mapped too, simply filter here.

Parameters

NameTypeDescription
$is_activeboolShould the mapping be treated as active?
$mapping\DomainMapping that we're inspecting
$domainstring

Source

Defined in inc/class-domain-mapping.php at line 437