How to delete a WordPress account by FTP?

How can I remove a WordPress access when I only have FTP access?

If you want to delete user with id 666, add this code to your functions file:

[php]
<?php
function weext_remove_admin_account(){
wp_delete_user(666);
}
add_action(‘init’,’weext_remove_admin_account’);
?>
[/php]

Submit a Comment

Your email address will not be published. Required fields are marked *