Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // Extend timeout on wp_remote_get to 90 seconds
- add_filter('http_request_args', function($args){
- // increase timeout to 90 seconds
- $args['timeout'] = 90;
- return $args;
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement