The WordPress registration default function just have 3 options:
<?php wp_create_user( $username, $password, $email ); ?>
If I want to add some other fileds, like age
or somtehing else!
with written PHP form, how can I do this?
wp_users
have some columns, like
user_login & user_email $ user_status
. Can I add new column like age
?
And, if I can, how can I register it with php page?
Like function:
wp_create_user( $username, $password, $email ,$age);
If it's impossible,
how can I create a new table, like wp_specialusers
and access to it using PHP, like:
wpdb::query('insert something to wp_specialusers..?') or
mysql_query('insert ...')
I want like this
<?php /* Template Name: wallet */ ?>
<?php get_header(); ?>
<form action=" --->WHERE!?<--- " method="post">
AGE : <input type="text" name="age">
<button type="submit">
</form>
tnx a lot