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
- How to create custom message on plugin update
- Override WordPress user with Oauth2 account
- Managing WP Core & Plugin Updates for Clients
- User-Specific Timezones? Hack? Plugin?
- 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?
- Overwrite textdomain of plugins by default – Lost Translation
- Updating WordPress – the best approach (updating wp core, plugins and db)
- 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
- Removing user contact methods works from functions.php but not from a plugin
- Hook (upgrader_process_complete) running moment
- How can I let users to access plugin functions based on roles?
- 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?
- Plugin child folder?
- Plugins won’t update when WordPress says they’re updated
- All Updated Plugins Disappeared
- Upload files programmatically to users
- Skip file when plugin updated
- How to migrate from Mark Jaquith’s Subscribe to Comments plugin to Gurken’s new version?
- Can I upgrade plugins via FTP?
- Current user in plugin returns NULL
- How to create a plugin that notifies for updates?
- Two people sharing user in WordPress [closed]
- How to get current post user id
- How to update plugins with database updates if I use svn
- WordPress Central User Database
- Display update notification messages like ‘What’s New’
- Two problems on my WordPress installation [closed]
- 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?
- Updating plugins asks for FTP information, why? (this is a new one)
- Procedural Question on Plugin Installation
- My homemade plugin is trying to update to someone else’s plugin
- How to update mu-plugin
- Understanding State in WordPress Multisites
- UpdraftPlus installed malware – scared to download or update plugins now! [closed]
- Child Themes and Updating Parent Theme
- how can I query all wordpress users of a blog
- Add Content to Content()
- Is there a plugin for WordPress for creating ‘Accounts’ where all users who belong to that Account can only see Account data? [closed]
- Vulnerability Concern From the Plugin or From Not Updating the Plugin?
- Add User Role: Pre-saved in User-Meta [SOLVED]
- Get site url and updates data, then use them
- get_users(); Is an Undefined Function When Used in Cron Job
- Why does this code snippet create a critical error on my site? [closed]
- How limit user connection?
- How do I change where a plugin pulls updates from?
- Plugin upgrade failing during unzip
- WordPress /users/me endpoint request forbidden
- Cannot add edit themes and add plugins after multisite update
- Plugin permissions for Editor role
- Remove updates text on plugin or themes list page
- Role based permission edit for plugins
- After a manual update, themes and plugins that were installed (and still in the directory) are not being seen
- 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
- Auto populate a user custom field from another user custom field
- How can I disable new plugin and theme install, but allow updates?
- How to prepare (compress/zip) a plugin to enable updating instead of adding new instance?
- WordPress asks to update a plugin already updated
- Can we hide a certain user in WP?
- After reading 3 story by user ask for subscription popup
- Custom Plugin Update
- Block plugin update possibilities (but not by hiding notifications)
- Update a previous version of plugin when the new plugin is built from the scratch
- How To Export User’s Custom Fields in CSV or XLSX
- WP core and plugin updates fail AWS
- On button click, redirect users to registration page instead of another page
- Searchable Semi Random Number Generator on User Profiles
- How do I run my custom function in my plugin when a wordpress user is deleted?
- Website content not displayed anymore after updates
- Custom plugin which downloads updates from custom endpoint, extracts new version zip into a new name
- Unmatch plugin from updates?
- Custom User Notice Upon Login
- Surviving WordPress and plugin updates
- How to order users alphabetically by name? in plugin UPME
- MobilePress plugin and WordPress 4.1 update
- How to speed up installing plugins and upgrading WordPress
- Automatic updates of plugins and themes outside of wordpress.org
- How change menu for each user in plugin?
- No feedback when installing plugins or updating
- Convert usernames listed by the Groups plugin shortcode to displayed names?
- Displaying custom profile fields using Mingle Plugin
- No plugin updates after moving wp-config.php above root map
- WordPress User Portal
- How to include a custom thumbnail with my WordPress plugin?
- Plugin update warning
- How to update changes to multiple sites at the same time
- Share or sync user table data with another user table