Skip to content

Instantly share code, notes, and snippets.

@tokopress
Created June 23, 2016 01:55
Show Gist options
  • Save tokopress/7dd6465f2fc41e81c39d2a14d6523e62 to your computer and use it in GitHub Desktop.
Save tokopress/7dd6465f2fc41e81c39d2a14d6523e62 to your computer and use it in GitHub Desktop.
Bookie - Move Book Details Section After Product Data Tabs on Single Product
add_action( 'after_setup_theme', 'custom_bookie_rearrange_book_details' );
function custom_bookie_rearrange_book_details() {
remove_action( 'woocommerce_after_single_product_summary', 'toko_wc_book_details', 5 );
add_action( 'woocommerce_after_single_product_summary', 'toko_wc_book_details', 15 );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment