Skip to content

Commit

Permalink
wp_remote_retrieve_response_code
Browse files Browse the repository at this point in the history
  • Loading branch information
marekdedic committed Mar 8, 2020
1 parent 648c508 commit 5a13be6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions stubs/WordPress/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -840,6 +840,14 @@ function wp_register_style( $handle, $src, $deps = array(), $ver = false, $media
function wp_remote_get( $url, $args = array() ) {
}

/**
* @param WP_Error|array $response
*
* @return int|string
*/
function wp_remote_retrieve_response_code( $response ) {
}

/**
* @param mixed $response
* @param int $status_code
Expand Down

0 comments on commit 5a13be6

Please sign in to comment.