GC_HTTP_Requests_Hooks::__construct()
最后更新于:2021-12-01 11:11:55
GC_( string$url, array$request)Constructor.
参数
- $url
-
(string) (Required) URL to request.
- $request
-
(array) (Required) Request data in GC_Http format.
源文件
文件: gc-includes/class-gc-http-requests-hooks.php
public function __construct( $url, $request ) {
$this->url = $url;
$this->request = $request;
}