Skip to content

Commit c91dcb6

Browse files
fix(rest-api): Improve docs
1 parent 325769f commit c91dcb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,7 @@ public function create_item( $request ) {
665665
* - 'admin' (default) or an empty string: Notify only the site administrator.
666666
* - 'user': Notify only the new user.
667667
* - 'both': Notify both admin and user.
668-
* - 'false': Disable notifications entirely.
668+
* - false: Disable notifications entirely.
669669
* @param int $user_id User ID.
670670
*/
671671
$notify = apply_filters( 'rest_wp_user_created_notification', 'admin', $user_id );

0 commit comments

Comments
 (0)