最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

plugin development - ShowHide 'add new user' custom fields in wordpress admin panel by click another field

programmeradmin5浏览0评论

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

发布评论

评论列表(0)

  1. 暂无评论