Register a transport
Parameters
$transport
stringrequired- Transport class to add, must support the WpOrgRequestsTransport interface
Source
public static function add_transport($transport) {
if (empty(self::$transports)) {
self::$transports = self::DEFAULT_TRANSPORTS;
}
self::$transports[$transport] = $transport;
}
User Contributed Notes
You must log in before being able to contribute a note or feedback.