Skip to content

Commit

Permalink
Merge pull request #33 from skaut/wp_remote_retrieve_body()
Browse files Browse the repository at this point in the history
wp_remote_retrieve_body()
  • Loading branch information
marekdedic authored Mar 24, 2020
2 parents 9e4c009 + c2965b3 commit 415619a
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion stubs/WordPress/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -975,7 +975,21 @@ function wp_remote_get( $url, $args = array() ) {
}

/**
* @param WP_Error|array $response
* @param WP_Error|array $response {
* @type string $body
* }
*
* @return string
*/
function wp_remote_retrieve_body( $response ) {
}

/**
* @param WP_Error|array $response {
* @type array $response {
* @type int $code
* }
* }
*
* @return int|string
*/
Expand Down

1 comment on commit 415619a

@szepeviktor
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dear @marekdedic !

WordPress core grows faster than you add functions :)

Please sign in to comment.