mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-06 23:58:03 +00:00
Docs: Various corrections and improvements relating to types used in inline documentation.
See #53399 git-svn-id: https://develop.svn.wordpress.org/trunk@52204 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -25,7 +25,7 @@ function add_user() {
|
||||
* @since 2.0.0
|
||||
*
|
||||
* @param int $user_id Optional. User ID.
|
||||
* @return int|WP_Error User ID of the updated user.
|
||||
* @return int|WP_Error User ID of the updated user or WP_Error on failure.
|
||||
*/
|
||||
function edit_user( $user_id = 0 ) {
|
||||
$wp_roles = wp_roles();
|
||||
@@ -234,9 +234,9 @@ function edit_user( $user_id = 0 ) {
|
||||
*
|
||||
* @since 4.4.0
|
||||
*
|
||||
* @param int $user_id ID of the newly created user.
|
||||
* @param string $notify Type of notification that should happen. See wp_send_new_user_notifications()
|
||||
* for more information on possible values.
|
||||
* @param int|WP_Error $user_id ID of the newly created user or WP_Error on failure.
|
||||
* @param string $notify Type of notification that should happen. See
|
||||
* wp_send_new_user_notifications() for more information.
|
||||
*/
|
||||
do_action( 'edit_user_created_user', $user_id, $notify );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user