Wp_remote_post() using proxy only for specific plugin. Wordpress

前端 未结 0 1448
无人及你
无人及你 2021-01-02 19:05

There is a snippet that can force ALL curl requests to use proxy

 add_action(\'http_api_curl\', function( $handle ){
    //Use HTTPS Proxy
    curl_setopt($ha         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题