jmlapam

Untitled

Oct 10th, 2014
182
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function test(){
  2. $query = 'http://www.neocom.fr/0/';
  3. $result = wp_remote_get($query);
  4.  
  5. $code = wp_remote_retrieve_response_code( $result );
  6.  
  7. var_dump($code);
  8. }
  9.  
  10. // renvoie int 404
RAW Paste Data