User Profile Form + Woocommerce

Support MB User Profile User Profile Form + WoocommerceResolved

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #39285
    thomassultanathomassultana
    Participant

    Hi,

    Im creating a frontend user profile form with woocommerce shipping fields as the form inputs. This works fine on the frontend. However i can see that the the fields are also showing on the user profile page in the backend. How can i prevent my metabox user profile fields from appearing on the user profile in the backend profile edit?

    #39295
    PeterPeter
    Moderator

    Hello Thomas,

    There is no option to remove the custom fields in the backend. When registering the field by code, you can create a condition to check if it is the admin area or not then add the code to register the field. Please refer to this topic https://support.metabox.io/topic/make-only-specific-fields-editable-in-frontend/#post-33787

    #39299
    thomassultanathomassultana
    Participant

    Thanks thats perfect.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.