request
object
Information about the current URL and the associated page.
Properties
Name | Type | Description |
---|---|---|
url | string | The url of the request. |
host | string | The domain that the request is hosted on. |
design_mode | boolean | Returns true if the request is being made from within the theme editor. Returns false if not. |
locale | string | The locale of the request. |