wppaste
WordPress

do_action( 'wp_delete_application_password', int $user_id, array $item )

Since
5.6.0
Fires when an application password is deleted.

Parameters

$user_idint
The user ID.
$itemarray
The data about the application password.

Fired at · 2

  • wp-includes/class-wp-application-passwords.php:394WP_Application_Passwords::delete_application_password()
  • wp-includes/class-wp-application-passwords.php:423WP_Application_Passwords::delete_all_application_passwords()

Source

				 *				 * @since 5.6.0				 *				 * @param int   $user_id The user ID.				 * @param array $item    The data about the application password.				 */				do_action( 'wp_delete_application_password', $user_id, $item ); 				return true;			}		} 		return new WP_Error( 'application_password_not_found', __( 'Could not find an application password with that id.' ) );

History

Introduced in 5.6.0. Unchanged from 6.7.7 through 7.1.0.

  1. 6.7.7
  2. 6.8.8
  3. 6.9.7
  4. 7.0.4
  5. 7.1.0

Signature, return type and hooks compared across 5 parsed releases.

About this page

Parsed data
Generated from the wordpress-develop 7.0.4 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.