SHARE
TWEET

Untitled

a guest Oct 13th, 2019 80 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. add_action( 'init', 'el_child_single_product_price_move_to_top', 10 );
  2.  
  3. function el_child_single_product_price_move_to_top() {
  4.     remove_action( 'woocommerce_single_product_summary',    'woocommerce_template_single_price',    25 );
  5.     add_action( 'woocommerce_single_product_summary',   'woocommerce_template_single_price',    12 );
  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