Skip to content

request object

Information about the current URL and the associated page.

Properties


NameTypeDescription
urlstringThe url of the request.
hoststringThe domain that the request is hosted on.
design_modebooleanReturns true if the request is being made from within the theme editor. Returns false if not.
localestringThe locale of the request.