Tag: insert

How to add a user to WordPress programmatically

In a recent development project I needed to add a user to WordPress programmatically because I had no WP user data but only access to FTP. If this is your case, here is the code I used to add myself to the WordPress users:

WP-Backgrounds Lite by InoPlugs Web Design and Juwelier Schönmann 1010 Wien