禁用在Woocommerce中编辑特定的管理员自定义字段

I have some custom fields for my Woocommerce products inside my Inventory Tab using woocommerce_wp_text_input() function. I would like to add one more custom text field just for displaying a value for reference.

I want to lock the textfield by default so as not to be able to write something in it.

Is it possible?

查看全部
doufan1899
doufan1899
2018/09/23 18:20
  • wordpress
  • admin
  • php
  • 点赞
  • 收藏
  • 回答
    私信
满意答案
查看全部

1个回复