Contexts / User Context

Read More: Fieldmanager_Context_User

Adds fields to the edit user (profile) screen, and saves data to user meta.

Action

fm_user

Additional References

Fieldmanager_Field::add_user_form()

  1. Example 1: Basic Field

    add_action( 'fm_user', function() {
    	$fm = new Fieldmanager_TextField( array(
    		'name' => 'demo',
    	) );
    	$fm-> add_user_form( 'Basic Field' );
    } );