wp_delete_application_password

wp_delete_application_password

Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.7

do_action('wp_delete_application_password') is found 2 times:

  • /wp-includes/class-wp-application-passwords.php line 389
    				 *
    				 * @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.' ) );
    
  • /wp-includes/class-wp-application-passwords.php line 418
    			}
    
    			foreach ( $passwords as $item ) {
    				/** This action is documented in wp-includes/class-wp-application-passwords.php */
    				do_action( 'wp_delete_application_password', $user_id, $item );
    			}
    
    			return count( $passwords );
    		}
    
    		return 0;