Core Class
View Source on Trac ↗
Core Class
Port
class Port
// Constructor: function Object() { [native code] } Find the correct port depending on the Request type.
Methods 1 methods
| Method / Return | Description |
|---|---|
| get() int | Retrieve the port number to use.
Parameters: $type: mixed |
Class Information
Since Version
2.0.0
Source File
wp-includes/Requests/src/Port.php
Advertisement