Adding new meta key to wp_usermeta table in database?
-
Hi
I’m currently trying to expand the fields on the user profile section, (user-edit.php).
I’ve added the following to the code:
<tr> <th><label for="twitter"><?php _e('Twitter Username') ?></label></th> <td><input type="text" name="twitter" id="twitter" value="<?php echo $profileuser->twitter ?>" class="regular-text" /></td> </tr>
But what i need to know is how do I add this into the database so when I type something into that field it will save it in the database?
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Adding new meta key to wp_usermeta table in database?’ is closed to new replies.