Advertisement
chrishajer

wp_remote_get header syntax

Mar 30th, 2012
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.44 KB | None | 0 0
  1. <?php
  2.         $result = wp_remote_get($page,array(
  3.                         'method' => 'GET',
  4.                         'timeout' => 30,
  5.                         'redirection' => 10,
  6.                         'httpversion' => '1.0',
  7.                         'blocking' => true,
  8.                         'headers' => array(),
  9.                         'body' => array(),
  10.                         'cookies' => array()
  11.                     )
  12.         );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement