WordPress at Your Fingertips
function is not described

WP_Application_Passwords_List_Table::column_revoke() public WP 5.6.0

Handles the revoke column output.

{} It's a method of the class: WP_Application_Passwords_List_Table{}

No Hooks.

Return

null. Nothing.

Usage

$WP_Application_Passwords_List_Table = new WP_Application_Passwords_List_Table();
$WP_Application_Passwords_List_Table->column_revoke( $item );
$item(array) (required)
The current application password item.

Changelog

Since 5.6.0 Introduced.

Code of WP_Application_Passwords_List_Table::column_revoke() WP 5.8.2

public function column_revoke( $item ) {
	$name = 'revoke-application-password-' . $item['uuid'];
	printf(
		'<button type="button" name="%1$s" id="%1$s" class="button delete" aria-label="%2$s">%3$s</button>',
		esc_attr( $name ),
		/* translators: %s: the application password's given name. */
		esc_attr( sprintf( __( 'Revoke "%s"' ), $item['name'] ) ),
		__( 'Revoke' )
	);
}