• Hi, what is the proper/most stable way to add custom user profile fields (meta data) that appears in the wp backend for administrators only (i.e. client cannot see these fields when he logs into his account). I saw a couple plugins that say they do this but thought maybe there is some simple code that can be added to functions.php file without having to install a plugin?

    I also noticed that some customer data importers (ex. ex. “Import users from CSV with meta” and “WooCommerce Customer / Coupon / Order CSV Import Suite”) can create custom user profile fields by simply adding the field names as columns in csv file that gets uploaded. For example, if I want to add a custom field called “Additional phone1”, I can just define it in column of csv upload file as “additional_phone1” but just want to check what affect this has on system performance/db versus another method.

    Topics is similar to https://www.ads-software.com/support/topic/how-to-add-extra-user-fields-for-woocommerce/ but this is for user profile data in backend rather than registration fields on frontend.

    Thanks!

Viewing 1 replies (of 1 total)
  • Thread Starter wpnewbie72

    (@wpnewbie72)

    after further reading, it seems like there are really 2 steps to above task:
    1) add custom user meta to db
    2) display custom user meta in wp user profile (edit user screen)

    So what’s the recommended practice for doing these?

    Thank you!

Viewing 1 replies (of 1 total)
  • The topic ‘Customer Meta (Custom User Profile Fields In Backend)’ is closed to new replies.