Skip to content
Corex

SiteScopeSwitched

Corex\Multisite\Events\SiteScopeSwitched · class · Core layer

Scalars keep listeners independent of WP_Site and therefore headless-testable (spec FR-040).

__construct(int $toSiteId, int $fromSiteId)

Section titled “__construct(int $toSiteId, int $fromSiteId)”