You could save this as user_meta
using [add_user_meta][1]
. The options are usually used for sitewide settings, whereas the user_meta
is specific for the single user.
add_user_meta( $user_id, $meta_key, $meta_value, $unique );
You can either delete the data on activation of the account, or leave it there – I do not see why you would want to delete it.
So the process should be
- create user
- add user meta
- send registration email
- your custom activation stuff
Everything okay so far?
Related Posts:
- What for the tables ending with the meta used in database of wordpress?
- Form doesnt save to database
- Is it necessary to do validation again when retrieving data from database?
- Autoloading & Namespaces in WordPress Plugins & Themes: Can it Work?
- framework for plugin/theme options panel? [closed]
- How to get the path to the current theme?
- ajaxurl not defined on front end
- What process do you use for WordPress development? [closed]
- Why does WordPress use outdated jQuery v1.12.4?
- Post meta vs separate database tables
- What is the advantage of using wp_mail?
- Is it mandatory to use $wpdb->prefix in custom tables
- Should Plugin Folders Include a Blank index.php File?
- How to include jQuery and JavaScript files correctly?
- Update Option Stored in Multi-Dimensional Array
- Single functions.php or split into many small files?
- How can I configure Docker for developing and deploying a custom theme?
- Where to store PHP files created by plugin / themes
- Default table collation on plugin activation?
- How to post data to same page in wordpress
- What is an alternative method to the WordPress private _doing_it_wrong() function
- Understanding WordPress functions’ naming conventions
- Using a database view = evil incarnate?
- What is the difference between esc_html and wp_filter_nohtml_kses?
- Should I create a theme or a plugin?
- Include third party Javascript library which is not included in WordPress
- Writing a plugin that notify my friends of new post that mentions(@) them
- Is there widely accepted phpDoc syntax for documenting which hook calls a function?
- Getting wrong relationship value in $args in wp_Query?
- WordPress and multithreading
- Where do I start from
- WP 3.3 Tooltips API?
- jQuery in header or footer
- Check for featured image in WP_Query
- Not sure the best way to save custom plugin data
- wp_remote_get doesn’t work with secure connections https?
- The ideal place for storing persistent PHP objects
- Update exisiting site to 3.5 release candidate
- How do I Make a Theme “plugin-ready”?
- What is the correct way for plugins to create tables with special charset/collation considerations?
- Authoritative answer on which boots first – Plugins or Themes?
- How to Add Font Awesome Icons to WordPress Menus?
- How to Add a .js file Only in one specific Page Dynamically to Head
- What is the added “complexity” of custom tables?
- Plugin development with unit tests
- Show a user their recently viewed posts
- How is the data stored in the database?
- Escaping built-in WP function return strings
- How to Use WordPress Color Picker API in Custom Post Type Metabox
- Get file headers in custom file
- Formatting of curly brackets array from WP database to get more readable output
- add_filter and remove_filter added before and after wp_query
- How to modify post content before writing to database?
- What is the difference between strip_tags and wp_filter_nohtml_kses?
- Actions or filters fired when data is saved in a custom table
- Custom theme sufficient or custom plugin neccessary for this feature set?
- Having Problem On Getting WP Post Gallery Images URL
- What’s the difference between hooks, filters and actions? [duplicate]
- How to use filter hook ‘post_updated_messages’ in coherence with action hook ‘save_post’
- How to create custom home page via plugin?
- Add new user and add meta at once
- How to: get main plugin/theme file?
- How to debug WordPress correctly?
- Custom user profile, registration, login page with theme
- add_theme_support using a plugin
- Featured Image not showing in admin
- Hello dolly type plugin that allows people to add their own
- How to Display Custom Post Type’s Gallery (images ) in Through WP_Query
- Customizer Not Saving Options
- How to bundle a plugin with a theme, or vice versa
- Sample — test — data for large WordPress install
- Custom Plugin Database relations
- Is there any reason only 1 (my) IP would be added to this table using $wpdn->insert?
- What is better way to use Bootstrap inside admin panel?
- How to add Font Awesome 5 icons in WP Admin dashboard menu?
- How Can I setup WP CLI on Windows development machine running AMPPS?
- WP_LOCALIZE_SCRIPT doesn’t work
- What is the difference between these two methods of writing $ instead of jQuery in WordPress [closed]
- How to store data for posts/pages built with drag-n-drop builder?
- Database for development
- Whats the difference between blog_info(‘stylesheet_url’) difference get_stylesheet_uri()
- Error : “Updating failed: The response is not a valid JSON response” with custom shortcode
- What’s the better way to add an inline script?
- What function to hook for changes made in status and visibility of a post
- Is there a naming convention for database tables created by a plugin?
- Example of uninstaller routine to remove all custom theme options from wp_options
- Activation hook not creating table
- Metabox Not Showing on Custom Post Type But On Pages and Post
- Is the usage of ON DELETE CASCADE wrong or not allowed on wordpress?
- Modify a Free Plugin available on wordpress.org & include with my Premium Theme? [closed]
- Paging on a future post loop?
- Execution limit and Memory limit errors even i changed to 1024M and 600(cache.php,load.php)?
- Are we allowed to use the Allman (BSD) indent style when coding WordPress plugins and themes?
- Backslashes being stripped from CSS
- Version upgrade: can my plugin filter the SQL statements issued during a database upgrade?
- Saving data from block editor to the database
- Best choice of options/settings framework for plugin/theme development
- How to determine if the current file is loaded in a plugin or in a theme?
- Is there any way to have Featured Text, as opposed to Featured Image?
- How to check if a stylesheet is already loaded?