1. Home
  2. Docs
  3. BeatStore WordPress Plugin
  4. Code Snippets

Code Snippets

If you would like to use one of the code snippets on your Website, we recommend using a Plugin like Code Snippets: https://wordpress.org/plugins/code-snippets/

Hide the audio player on WooCommerce Product Detail Page

* Remove Audio Preview Player on WooCommerce Product Page
function remove_audio_player_woosingle() {
global $beatstore_woo;
remove_action( 'woocommerce_product_meta_end', array($beatstore_woo,'beatstore_woocommerce_single_product_player') );
add_action( 'init', 'remove_audio_player_woosingle' );

Was this article helpful to you? Yes 2 No

How can we help?