Advertisement
verygoodplugins

Untitled

Jun 29th, 2020
1,557
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.27 KB | None | 0 0
  1. add_filter( 'https_ssl_verify', '__return_false', PHP_INT_MAX );
  2.  
  3. add_filter( 'http_request_args', 'http_request_force_ssl_verify', PHP_INT_MAX );
  4.  
  5. function http_request_force_ssl_verify( $args ) {
  6.  
  7.         $args['sslverify'] = false;
  8.  
  9.         return $args;
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement