http_api_curl

動作鉤子
do_action_ref_array( 'http_api_curl', array( &$parameters[0], $this->request, $this->url )

http_api_curl。這個過濾器鉤子允許你修改在WordPress中進行HTTP請求時傳遞給cURL函式的引數。這個過濾器在使用cURL傳輸進行HTTP請求時被應用,並允許你修改傳遞給cURL的引數,如URL、標頭檔案和選項。

此操作記錄在wpincludes/class-wp-http-curl.php中。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
do_action_ref_array( 'http_api_curl', array( &$parameters[0], $this->request, $this->url ) );
do_action_ref_array( 'http_api_curl', array( &$parameters[0], $this->request, $this->url ) );
do_action_ref_array( 'http_api_curl', array( &$parameters[0], $this->request, $this->url ) );

常見問題

FAQs
檢視更多 >