Adds fields to the edit user (profile) screen, and saves data to user meta.
Action
fm_user
Additional References
Fieldmanager_Field::add_user_form()
-
Example 1: Basic Field
123456add_action(
'fm_user'
,
function
() {
$fm
=
new
Fieldmanager_TextField(
array
(
'name'
=>
'demo'
,
) );
$fm
-> add_user_form(
'Basic Field'
);
} );