Skip to content

Commit

Permalink
Merge pull request #16 from skaut/WP_Error->get_error_message()
Browse files Browse the repository at this point in the history
WP_Error->get_error_message()
  • Loading branch information
marekdedic authored Mar 9, 2020
2 parents 81c0a81 + b44f84a commit 1db4b1b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions stubs/WordPress/class-wp-error.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,11 @@
/**
*/
class WP_Error {
/**
* @param string|int $code
*
* @return string
*/
public function get_error_message( $code = '' ) {
}
}

0 comments on commit 1db4b1b

Please sign in to comment.