Core Function
View Source on Trac ↗ wp_get_server_protocol()
wp_get_server_protocol( ) Returns the HTTP protocol sent by the server.
Return Value
(string)
The HTTP protocol. Default: HTTP/1.0.
Function Information
Since Version
4.4.0
Source File
wp-includes/load.php
Advertisement