personal_options WordPress Action Hook
The personal_options hook is a great way to add extra options to the WordPress user profile screen. This hook is called after the default user fields are output, so it's a great place to add your own custom fields. You can use this hook to add extra fields for things like social media links, website URLs, or even custom user roles.
do_action( 'personal_options', WP_User $profile_user ) #
Fires at the end of the ‘Personal Options’ settings table on the user editing screen.
Parameters
More Information
Hooks immediately after the “Show toolbar…” option on profile page (if current user). Any HTML output should take into account that this hook occurs within the “Personal Options” <table>
element.
Source
File: wp-admin/user-edit.php
Changelog
Version | Description |
---|---|
2.7.0 | Introduced. |