Skip to content

Commit

Permalink
Merge pull request #15 from skaut/wp_remote_retrieve_response_code
Browse files Browse the repository at this point in the history
wp_remote_retrieve_response_code
  • Loading branch information
marekdedic authored Mar 8, 2020
2 parents 648c508 + 5a13be6 commit 81c0a81
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 81c0a81

Please sign in to comment.