Restores the current site, after calling switch_to_site().


  • Full name: restore_current_site
  • Defined in: cms/core/Shared/Helpers/site.php

Parameters

This function has no parameters.

Return Value

bool

True on success or if we're already on the current site.