Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/class-wp-application-passwords.php | do_action | 349 | /** * Fires when an application password is deleted. * * @since 5.6.0 * * @param int $user_id The user ID. * @param array $item The data about the application password. */ |
wp-includes/class-wp-application-passwords.php | do_action | 378 | /** * Deletes all application passwords for the given user. * * @since 5.6.0 * * @param int $user_id User ID. * @return int|WP_Error The number of passwords that were deleted or a WP_Error on failure. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
int | $user_id | The user ID. |
array | $item | The data about the application password. |
int | $user_id | The user ID. |
array | $item | The data about the application password. |