Uses
Uses | Description |
---|---|
wp-includes/wp-db.php: wpdb::delete() | Deletes a row in the table. |
Deletes am associated signup entry when a user is deleted from the database.
(int) (Required) ID of the user to delete.
(int|null) (Required) ID of the user to reassign posts and links to.
(WP_User) (Required) User object.
File: wp-includes/ms-functions.php
function wp_delete_signup_on_user_delete( $id, $reassign, $user ) { global $wpdb; $wpdb->delete( $wpdb->signups, array( 'user_login' => $user->user_login ) ); }
Version | Description |
---|---|
5.5.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/wp_delete_signup_on_user_delete