do_action( 'profile_personal_options', WP_User $profileuser )

Fires after the ‘Personal Options’ settings table on the ‘Profile’ editing screen.

Description Description

The action only fires if the current user is editing their own profile.

Top ↑

Parameters Parameters


(WP_User) The current WP_User object.

Top ↑

Source Source

File: wp-admin/user-edit.php

View on Trac

Top ↑

Changelog Changelog

Version Description
2.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

  1. Skip to note 1 content
    Contributed by Codex


     // This will show below the color scheme and above username field
    add_action( 'profile_personal_options', 'extra_profile_fields' );
    function extra_profile_fields( $user ) {
    	// get the value of a single meta key
    	$meta_value = get_user_meta( $user->ID, 'meta_key', true ); // $user contains WP_User object
    	// do something with it.
    	<input type="text" name="value" value="<?php echo esc_attr( $meta_value ); ?>" />

Top ↑

You must log in before being able to contribute a note or feedback.