{ $actions['delete'
] = "<a class='submitdelete' href='" .
wp_nonce_url( "users.php?action=delete&user=
$user_object->ID", 'bulk-users'
) . "'>" .
__( 'Delete'
) . '</a>';
} if ( is_multisite() &&
current_user_can( 'remove_user',
$user_object->ID
) ) { $actions['remove'
] = "<a class='submitdelete' href='" .
wp_nonce_url( $url . "action=remove&user=
$user_object->ID", 'bulk-users'
) . "'>" .
__( 'Remove'
) . '</a>';
} // Add a link to the user's author archive, if not empty.
$author_posts_url =
get_author_posts_url( $user_object->ID
);
if ( $author_posts_url ) { $actions['view'
] =
sprintf( '<a href="%s" aria-label="%s">%s</a>',
esc_url( $author_posts_url ),
/* translators: %s: Author's display name. */
esc_attr( sprintf( __( 'View posts by %s'
),
$user_object->display_name
) ),
__( 'View'
) );
} // Add a link to send the user a reset password link by email.