admin管理员组

文章数量:1330633

I have created a custom field in the 'add new user' section using this hook "user_new_form" in the wordpress admin panel. Now I want to show or hide this field on the base of role. Can anyone help me?

when i select "agent" from the role field only then the new field should be visible otherwise it should be hidden

本文标签: plugin developmentShowHide 39add new user39 custom fields in wordpress admin panel by click another field