You’re looking for profile_update & user_register.
user_register is called after a user is created.
add_action( 'user_register', 'myplugin_registration_save', 10, 1 );
function myplugin_registration_save( $user_id ) {
// Do stuff with $user_id
}
profile_update is called after a user is updated.
add_action( 'profile_update', 'my_profile_update', 10, 2 );
function my_profile_update( $user_id, $old_user_data ) {
// Do stuff with $user_id
}
Related Posts:
- Updates for a private plugin?
- Disable update notification for individual plugins
- what is the correct way to update a plugin via tortoise svn to the repository?
- An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration
- How to create custom message on plugin update
- Override WordPress user with Oauth2 account
- Why “Contact Form 7” doesn’t update PHPmailer library?
- Managing WP Core & Plugin Updates for Clients
- Which files get updated in a plugin update?
- Loading posts associated only to the logged in user on recent posts page
- How can i force Display names to be the same as Usernames?
- Updating WordPress – the best approach (updating wp core, plugins and db)
- How to update WordPress plugin readme.txt description page without triggering a plugin update?
- How can a plugin run a script after being updated in MultiSite?
- How to create custom LOGIN and REGISTRATION forms?
- How to update plugin without overwrite custom code
- How can I let users to access plugin functions based on roles?
- Multisite functions to communicate with individual site functions
- Get User ID from within a plugin
- Is it possible to block subscriber users to changing its password?
- delete_user_meta Delete one value out of array
- WordPress Plugin for One-Time Event Registration? [closed]
- Why users disable the WordPress update?
- Will WordPress username displayed somewhere in the site?
- Plugins won’t update when WordPress says they’re updated
- Upload files programmatically to users
- Override plugin functions in functions.php
- Skip file when plugin updated
- How to migrate from Mark Jaquith’s Subscribe to Comments plugin to Gurken’s new version?
- Current user in plugin returns NULL
- How to upload user profile image from frontend in wordpress ?
- Average Account Age
- How to keep users unique id stored in session in addition to IP in WordPress plugin?
- How to update plugins with database updates if I use svn
- Display update notification messages like ‘What’s New’
- How to create restrict content to users (by user, not by role)
- How can I change the meta_key for a particular piece of information?
- Procedural Question on Plugin Installation
- Some recent plugin updates have failed “Could not create directory”
- How to test ‘upgrader_process_complete’ hook in plugin development?
- What happens if I don’t update my plugins?
- What is a rock solid development and deployment workflow? [closed]
- Multisite – maximum number of users with specific role
- Understanding State in WordPress Multisites
- How to have sample page for each new register users in a membership website
- Child Themes and Updating Parent Theme
- Is there a maximum length to a WordPress Page?
- Is there a plugin for WordPress for creating ‘Accounts’ where all users who belong to that Account can only see Account data? [closed]
- How to execute plugin and theme updates from a web hook / endpoint?
- Add User Role: Pre-saved in User-Meta [SOLVED]
- How limit user connection?
- Updating WordPress across multiple versions
- How to pass a query string to another page on the same site?
- How to add update function to plugin without adding it to https://wordpress.org/plugins/ [closed]
- WordPress /users/me endpoint request forbidden
- Cannot add edit themes and add plugins after multisite update
- Personalized Author Area
- Remove updates text on plugin or themes list page
- How to auto strip hyperlinks & images in wordpress post
- What would make the plugin update process to complete but don’t report as such?
- Plugin privelages for “editors”
- Shortcode not displaying HTML within the function
- Janrain/Simple Modal under Redirected Domain
- Can’t save changes or modify settings in Dashboard but Pages and Posts are fine
- Disable Author Archive just for certain roles in bulk
- Can we hide a certain user in WP?
- how to create user profile pages and display them based on users roles
- Block plugin update possibilities (but not by hiding notifications)
- Unable to update plugins or log out
- Comment restrictions Wodpress
- Update a previous version of plugin when the new plugin is built from the scratch
- WP core and plugin updates fail AWS
- Gutenberg editor in WordPress 5.0.3 /wp-json/wp/v2/pages/4713/autosaves?_locale=user 500 (Internal Server Error)
- How do I run my custom function in my plugin when a wordpress user is deleted?
- Website content not displayed anymore after updates
- Unmatch plugin from updates?
- Update and remove buttons are hidden in plugin’s page
- User / membership Plugin [closed]
- How to see in Edit Comments if comment is from User and her Roles
- Pause form submissions while upgrading plugins
- Custom User Notice Upon Login
- Why all my wordpress sites keeps telling me that everything is up to date at /wp-admin/update-core.php?
- How can I save cookies to members
- Surviving WordPress and plugin updates
- How to order users alphabetically by name? in plugin UPME
- Defined user role to access plugin’s pages
- MobilePress plugin and WordPress 4.1 update
- How change menu for each user in plugin?
- How to set different users for different pages?
- Want to add post to user dashboard
- Manually updating a plugin , is it overriding the previous settings of the plugin?
- Self-hosted Plugins & Themes store with auto-updates? [closed]
- Console errors after WordPress Update 6.1
- How to give access to the particular page in wordpress for specific username/email NOT roles [closed]
- How to update changes to multiple sites at the same time
- Share or sync user table data with another user table
- Issues with creating user profile for a subscriber, but with different profile page and functionalities
- Plugins updates not showing on wordpress
- “All plugins are updated” but they aren’t
- View Version Details” on Plugin update shows “Plugin not found