2020-05-02 / 2778阅 / 悠然
检索当前网络的站点URL。
返回带有适当协议的站点URL,如果is_ssl()则返回“ https”,否则返回“ http”。如果$ scheme是'http'或'https',则is_ssl()被覆盖。
Top ↑
(string)
(Optional)
Path relative to the site URL.
Default value: ''
(string)
(Optional)
Scheme to give the site URL context. Accepts 'http', 'https', or 'relative'.
Default value: null
(string) Site URL link with optional path appended.