Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $cust_array = array(
- 'tags' => $new_tag
- );
- $info = array('customer' => $cust_array );
- $args = array(
- 'headers' => array('Authorization' => 'Basic ' . base64_encode($credentials) ),
- 'method' => 'PUT',
- 'body' => json_encode( $info )
- );
- $response = wp_remote_get( '/admin/customers/#1234.json', $args );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement