Documentation

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.

Are you using WooThumbs for WooCommerce yet?

Start your 14-day free trial right now and get instant access to the features described in this article.

or learn more

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.

WooThumbs for WooCommerce

WooThumbs for WooCommerce

Not got the plugin yet? Get instant access right now, free for 14 days.

or learn more

Still need help?

If you haven't found what you're looking for in our documentation, please contact support.

Get Support