W3cubDocs

/WordPress

Requests_Exception::getType()

Like {@see getCode()}, but a string code.

Return

(string)

Source

File: wp-includes/Requests/Exception.php

public function getType() {
		return $this->type;
	}

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/requests_exception/gettype