Function __global->get_region

Definitions

sources/locations.php

  • Find the active region for the current user.Function likely to be overridden if a region scheme more complex than ISO countries is in use. E.g. to detect via considering state CPF also.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: string

Return

  • The active region (null: none found, unfiltered)
  • Type: ?string
  • Set: N/A
  • Range: N/A