Fires before the page loads on the ‘Profile’ editing screen.
Description
The action only fires if the current user is editing their own profile.
Parameters
$user_idint- The user ID.
Source
do_action( 'personal_options_update', $user_id ); Changelog
| Version | Description |
|---|---|
| 2.0.0 | Introduced. |
This example shows how to save a custom field named ‘your_field’…
(From Codex)
This example shows how to save a custom field named ‘your_field’…