Hi,
I've created a field for user profile and I would like to show on Add New User form page.
My field is teh following:
$meta_boxes[] = [
'title' => 'Directores',
'type' => 'user',
'fields' => [
[
'name' => 'Director',
'id' => 'candidate-director',
'type' => 'user',
'field_type' => 'select_advanced',
'placeholder' => 'Selecciona un usuario',
'ajax' => true,
'query_args' => [
'role__in' => [ 'administrator' ],
],
'desc' => 'El director tiene que estar dado de alta en Candidate Site cómo administrador'
],
],
];
I can't show on Default Registry form of wordpress.
Could you help me?
Thanks!