Advertisement
verygoodplugins

Untitled

Mar 28th, 2023 (edited)
1,410
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.17 KB | None | 0 0
  1. add_filter( 'http_request_args', function( $args, $url ) {
  2.     if ( 'https://mysite.com' === $url ) {
  3.         $args['reject_unsafe_urls'] = false;
  4.     }
  5.     return $args;
  6. }, 10, 2 );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement