php 订单备注文本#woo #rename #checkout

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了php 订单备注文本#woo #rename #checkout相关的知识,希望对你有一定的参考价值。

//Change placeholder text in Order notes field on checkout page
add_filter( 'woocommerce_checkout_fields' , 'override_order_notes_placeholder' );

  function override_order_notes_placeholder( $fields ) {
\!h       $fields['order']['order_comments']['placeholder'] = '__Is your crib hidden on some awesome back woods trail where you ride all day?
  
  If so, we are totally jealous... But we might need you to leave us some extra info so we can tell the postman where to deliver.__';
       
  return $fields;
  }

以上是关于php 订单备注文本#woo #rename #checkout的主要内容,如果未能解决你的问题,请参考以下文章

php 结帐:隐藏订单备注#woo #hide

php 商店:重命名排序选项#woo #rename

php 商店:重命名排序选项#woo #rename

php 结帐:更改标签上的名称#woo #rename

php Woo:下订单后强制用户角色

在 Woocommerce 管理订单编辑页面中以编程方式添加自定义订单备注