Support » Plugin: Custom Metadata Manager » adding a user field

  • After adding the call below to an action_menu hook it just worked:
    x_add_metadata_field( ‘my_new_id’, ‘user’, array(‘label’ => ‘my_new_id’, ‘display_column’ => true) );

    An admin could then set and maintain the new field in the normal way (select [Users -> All Users] …).

  • The topic ‘adding a user field’ is closed to new replies.