Join our email list

Newsletter about WordPress and internet security

4 thoughts on “How To Create New WordPress Admin User Account Via FTP”

  1. It is of course much simpler than that.
    The code will never work as it calls the wrong function.
    I.e.
    “`
    add_action(‘init’,’create_admin_account’);
    “`
    Nevertheless i found his post super useful and exactly what I needed.
    Thanks

  2. FYI the function names don’t match between the declaration and add_action (create_admin_account vs admin_account). Otherwise works great!

  3. Hello Will and Mark

    Thank you both for pointing out the error, it was the wrong function name as Will noted – I have corrected the code 🙂

Leave a Comment

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

Protect your WordPress website from hackers Get Security Ninja Pro

Security Ninja protects your website from attacks and keeps a constant eye on your website.

  • Firewall - Block suspicious visitors
  • Cloud Firewall - Ban 600+ million bad IPs from visiting
  • Autofix - Handle complicated security issues with one click.
  • Malware scanner finds malicious code on your website
  • Plugin integrity checker verifies your installed plugins
  • Scans your core WordPress files for changes
  • Automated scans - Warns you if there is trouble
  • Events Logger - Know everything that's going on your site.

 Secure payment
 Instant download & activation
 100% Money-Back Guarantee

Keep your website safe & prevent downtime due to security issues.

Black Friday - save 50% on annual and lifetime

20% OFF

Subscribe to our newsletter

* We do not spam or share your email

On any WP Security Ninja plan

and get

Hi and welcome back :-)