Disable The Thumbnail Play Icon

If you want to disable the thumbnail ‘play’ icon for media embeds, you can add the following snippet to your child theme’s functions.php file:

/**
 * Remove thumbnail icon.
 */
function iconic_remove_thumbnail_icon() {
	remove_action( 'iconic_woothumbs_before_thumbnail', array( 'Iconic_WooThumbs_Media', 'thumbnail_play_icon' ), 10 );
}

add_action( 'init', 'iconic_remove_thumbnail_icon' );

You can use the iconic_woothumbs_before_thumbnail hook to insert your own icon, if you wish.

WooThumbs for WooCommerce

Enable zoom, sliders, video, fullscreen, multiple images per variation, and customisable layout options for your product imagery.

Was this helpful?

Please let us know if this article was useful. It is the best way to ensure our documentation is as helpful as possible.