Posts tagged user meta

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:



NS Weight Release