I would like to change the position Bought together section in single product page.
I have written a snippet and add functions.php, but not change the position.
I wanted to move it above Long descripsion Tabs section.
What did I make wrong?
* @snippet Move Bought together @ Single Product Page - WooCommerce
// 1. Remove Bought Together From Their Default Position
remove_action( 'woocommerce_after_single_product_summary', 'get_bought_together_products', 12 );
// 2. Echo Bought Together In Another Position
add_action( 'woocommerce_after_single_product_summary', 'get_bought_together_products', 5 );