Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_filter( 'http_request_args', function( $args, $url ) {
- if ( 'https://mysite.com' === $url ) {
- $args['reject_unsafe_urls'] = false;
- }
- return $args;
- }, 10, 2 );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement