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?
- to perform the requested action wordpress needs to access your web server. please enter your ftp
- Disable update notification for individual plugins
- How can I stop WordPress from prompting me to enter FTP information when doing updates?
- 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
- Can I upgrade a plugin to a specific version?
- How to implement WordPress plugin update that modifies the database?
- How to create custom message on plugin update
- Override WordPress user with Oauth2 account
- What are the best practices for updating?
- Is there a way (plugin?) to restrict a user to being able to edit just one page?
- Update plugin from personal API
- WP_User_Query and non-unique usermeta data
- Why “Contact Form 7” doesn’t update PHPmailer library?
- Can’t install new plugins because of the error “Could not create directory”
- Removing the “Your backup folder MIGHT be visible to the public” Message Generated by the WP-DBManager Plugin
- How to create a WordPress plugin for another wordpress plugin?
- Managing WP Core & Plugin Updates for Clients
- Error when updating plugins by FTP “Unable to locate WordPress Content directory (wp-content).”
- Preventing a plugin from updating
- Where the Nickname is being used in WordPress
- Plugin update error message
- Customize plugin update “new version is available” text
- Keep one user logged for a year?
- User-Specific Timezones? Hack? Plugin?
- Get Latest Plugin Version from WP API
- Which files get updated in a plugin update?
- How wordpress detects 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?
- A Way to Auto update plugins using cron?
- Overwrite textdomain of plugins by default – Lost Translation
- Plugin updates are not shown
- Filter Hook on plugin update
- Updating WordPress – the best approach (updating wp core, plugins and db)
- Remove update messages for deactivated plugins
- How get list of updates of wp site?
- plugin wants to update to wrong plugin
- How to update WordPress plugin readme.txt description page without triggering a plugin update?
- How to notify users of blog updates a la Admin Plugin Update notifications?
- WordPress error – PHP Fatal error: Uncaught Error: Call to undefined function register_block_type_from_metadata()
- How can a plugin run a script after being updated in MultiSite?
- How to create custom LOGIN and REGISTRATION forms?
- Automatic updates not working/plugins not installing
- 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
- What Triggers a Plugin Update Alert
- How can I let users to access plugin functions based on roles?
- WordPress plugin search does not work and updates are not shown, VPS install
- Update page (update-core.php) & Plugins page (plugins.php) revert to homepage
- Defined user role to access plugin’s pages
- How to keep edited plugins updated?
- 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?
- How to set different users for different pages?
- Which part of the plugin to change so the updater won’t register the next version?
- 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
- Updates for a private plugin?
- Trouble After Update, Removing Plugin
- Want to add post to user dashboard
- No plugin updates after moving wp-config.php above root map
- Using one-click plugin upgrade feature securely on suexec server
- Manually updating a plugin , is it overriding the previous settings of the plugin?
- WordPress User Portal
- How to include a custom thumbnail with my WordPress plugin?
- User register hook can’t access form request
- How to make wordpress backend mobile optimized.?
- Plugin update warning
- Self-hosted Plugins & Themes store with auto-updates? [closed]
- How to give different user access to different people?
- how to embed a crop feature for cropping images uploaded by the user
- 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
- How to Enfroce Domain Licensing Limits? [closed]
- How to Replicate Elementor Licensing Model
- how to update wordpress plugin programmatically using plugin path
- Can WordPress updates take down site functions?
- Failed to update a post when I add a taxonomy to it
- Manually update notification of plugins needing updating
- On WordPress.org Plugin repository, Last Updated Date doesn’t match with Plugin Version Update Date
- Issues with creating user profile for a subscriber, but with different profile page and functionalities
- What’s the best way to update my WordPress theme to Elementor?
- Wp Plugins Update
- Plugins updates not showing on wordpress
- Email notification when registred user clicks a link/visits page
- “All plugins are updated” but they aren’t
- Is there a plugin or resource for custom implementation for OAUTH and regular user login?
- Search results not finding in paginated pages just in visible rows
- custom user profiles like linktree fully customizable on the front end
- How prevent STDOUT of Plugin_Upgrader->upgrade(…)?
- View Version Details” on Plugin update shows “Plugin not found
- Admin Page & User page