Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Setting user data


ardentfrost
Member

@ardentfrost

To set one yourself is a lot harder than should be. If you look in the database, you’ll see that all that information is held in a single linear table called usermeta.

What you want to do is make a script that, upon creation of a user, adds something to that table. You’ll have to do the dirty work yourself. It’s not THAT hard, but not as easy as what you’re wanting.

My avatar plugin simply adds the avatar to the list, which allows the user to set the value. You can’t add something into that list without the user being able to set the value (your only choices are required and not required).

Skip to toolbar