daily pastebin goal
92%
SHARE
TWEET

WooCommerce - Add custom shipping note

lorro Mar 23rd, 2017 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.   // WooCommerce - Add custom shipping note
  3.   add_action( 'woocommerce_review_order_before_shipping', 'custom_shipping_note' );
  4.   function custom_shipping_note() {
  5.     print '<tr><td></td><td>My custom text about shipping methods.</td></tr>'.PHP_EOL;
  6.   }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top