W3cubDocs

/WordPress

Http::getReason(): string

Get the status message.

Return

string

Source

public function getReason() {
	return $this->reason;
}

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wporg-requests-exception-http/getreason