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.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.