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?
- How to get the path to the current theme?
- Why does WordPress use outdated jQuery v1.12.4?
- Post meta vs separate database tables
- Update Option Stored in Multi-Dimensional Array
- What is an alternative method to the WordPress private _doing_it_wrong() function
- Writing a plugin that notify my friends of new post that mentions(@) them
- Check for featured image in WP_Query
- Update exisiting site to 3.5 release candidate
- What is the correct way for plugins to create tables with special charset/collation considerations?
- Get file headers in custom file
- add_filter and remove_filter added before and after wp_query
- What is the difference between strip_tags and wp_filter_nohtml_kses?
- Having Problem On Getting WP Post Gallery Images URL
- How to: get main plugin/theme file?
- add_theme_support using a plugin
- How to bundle a plugin with a theme, or vice versa
- Sample — test — data for large WordPress install
- 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]
- Is there a naming convention for database tables created by a plugin?
- Modify a Free Plugin available on wordpress.org & include with my Premium Theme? [closed]
- Saving data from block editor to the database
- Best choice of options/settings framework for plugin/theme development
- Is there any way to have Featured Text, as opposed to Featured Image?
- Find source of notice / warning / errors efficiently
- Problem with is_active_sidebar?
- StackExchange clone using WordPress?
- Sharing common functionality (functions, template parts) between plugins and themes?
- Display content from custom post without modifying the single template
- Can I change header.php of current theme through a plugin function?
- Tried in different ways but sidebar not working?
- Short code not working in boostrap modal dont no why?
- Is there a way to list all actions registered by a plugin or theme?
- Using WPDB to output raw XML fails because of wp-blog-header.php
- How to hook a custom user function to a wordpress core ajax action?
- Elementor custom Query with ACF fields to show matching woocommerce products custom fields
- WP Gutenberg Blocks – How to limit first/root blocks
- How developed with version control word press site on shared host? [closed]
- Following WordPress Markup Is mandatory, got awkward resultyby wordpress standard markup?
- How do I create plugin or theme using MVC pattern?
- Plugin Development for registered users
- PowerPress mobile media player
- When is the proper time to minify css and js with git workflow?
- How to Get Current Custom Post Type Associated Taxonomy Term
- Plugin templates vs Parent Theme
- wpdb->prepare and mysql UPDATE – how is it done?
- dbDelta SQL Query Not Working
- Warning: include(): https:// wrapper is disabled in the server configuration by allow_url_include=0
- dbDelta not installing database
- Can’t change the style of a submit input type? [closed]
- Make a plugin page out of influence of the theme’s style
- Custom entity search and display
- Plugin: database creation
- Show dynamic list of products from custom api of another database under same host
- 400 Bad Request, in wordpress theme development, wp_ajax
- Issue on Setting $icon_url Parameter on WP add_menu_page()
- How best to handle database version dependence (from $wp_db_version)
- WP: Search and replace in DB programmatically
- Ajax: Populate with content from a post’s ID not working – duplicating current page html instead
- Using AND and bracket grouping in SQL not working
- How to replace settings in WordPress plugin from a theme
- WordPress dynamic widget by location?
- Using password protection to load different page elements?
- How can the_excerpt (or equivalent) be called on a category description?
- Change the behaviour of a button
- WP_Query order posts by category
- Configuring Xdebug with docker compose
- How to access index file in Block Themes?
- WordPress Favicon not Working For Images/Videos/PDFs
- Want to know how to reveal a WordPress theme, considering the theme name is hidden?
- Why User_login key doesn’t work with wp_update_user()
- Redirection from a specific page for users logged in but not with membership
- Is it possible to develop themes and plugins locally while still allowing content to be updated directly in the admin dashboard?
- Replace “content-area” of themes 404 page with plugin?
- Autoloading & Namespaces in WordPress Plugins & Themes: Can it Work?
- Custom premium registration form and profile page for a WordPress Web Application
- WordPress doesn’t create table on plugin activation
- Insert Data into Database
- Update database record in plugin
- How to destroy or dispose wordpress uploder/manager?
- Font Awesome stopped showing icons, shows &# text instead [closed]
- How to filter get_adjacent_post()?
- To remove rendering of menus and header, plugin or theme?
- Managing Custom Designed Content
- Generate activation url
- Display Data’s metabox in page
- Ajax functions – no access to wp-admin.php only online
- Saving multiple fields as array
- How can I make my website with wordpress having on-spot editing feature as compared to concrete5 CMS?
- How can I get a plugin to hook ‘dbdelta_queries’ — a filter used during version update?
- Gutenberg text field validation
- How react js and other Javascript Technologies works on WordPress plugin?
- Can I log the searches that are returning 404 in the DB?
- Programmatically creating posts based on external JSON feed (asynchronously)
- Fetch Custom Woocomerce filed data and check the data avialble in Wp-user table as nicname or username using function.php
- Remove Gutenberg Buttons Block