Skip to content

Instantly share code, notes, and snippets.

@akther80
Created September 11, 2023 12:27
Show Gist options
  • Save akther80/836cf8688d671a77b24c0442cf9f4b4f to your computer and use it in GitHub Desktop.
Save akther80/836cf8688d671a77b24c0442cf9f4b4f to your computer and use it in GitHub Desktop.
MyTravel - Change Hotel product ACF hooks to Standard product
add_action( 'woocommerce_before_single_product_summary', 'mytravel_single_hotel_top_badges', 2 );
add_action( 'woocommerce_after_single_product_summary', 'mytravel_single_hotel_amenities', 60 );
add_action( 'woocommerce_after_single_product_summary', 'mytravel_single_hotel_nearest_essentials', 70 );
add_action( 'woocommerce_after_single_product_summary', 'mytravel_single_hotel_landmarks', 90 );
add_action( 'woocommerce_after_single_product_summary', 'mytravel_single_hotel_facts', 90 );
add_action( 'woocommerce_after_single_product_summary', 'mytravel_single_hotel_policy', 100 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment