Changeset 27462
- Timestamp:
- 03/08/2014 01:22:51 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/user.php
r27260 r27462 283 283 * @since 2.0.0 284 284 * 285 * @param int $id User ID. 286 */ 287 do_action( 'delete_user', $id ); 285 * @param int $id ID of the user to delete. 286 * @param int|string $reassign ID of the user to reassign posts and links to. Default 'novalue'. 287 */ 288 do_action( 'delete_user', $id, $reassign ); 288 289 289 290 if ( 'novalue' === $reassign || null === $reassign ) { … … 354 355 * @since 2.9.0 355 356 * 356 * @param int $id ID of the deleted user. 357 */ 358 do_action( 'deleted_user', $id ); 357 * @param int $id ID of the deleted user. 358 * @param int|string $reassign ID of the user to reassign posts and links to. Default 'novalue'. 359 */ 360 do_action( 'deleted_user', $id, $reassign ); 359 361 360 362 return true;
Note: See TracChangeset
for help on using the changeset viewer.