我的库存标签中的Woocommerce产品有一些自定义字段,使用 woocommerce_wp_text_input()功能。 我想添加一个自定义文本字段,仅用于显示值以供参考。 p>
我想默认锁定文本字段,以便不能在其中写入内容。 p>
有可能吗? p> div>
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?
我的库存标签中的Woocommerce产品有一些自定义字段,使用 woocommerce_wp_text_input()功能。 我想添加一个自定义文本字段,仅用于显示值以供参考。 p>
我想默认锁定文本字段,以便不能在其中写入内容。 p>
有可能吗? p> div>