09 Feb Remove Featured Image
Remove feature image from single post content in Gutenberg
//remove feature image from single post content
function wordpress_hide_feature_image( $html, $post_id, $post_image_id ) {
return is_single() ? '' : $html;
}
// add the filter
add_filter( 'post_thumbnail_html', 'wordpress_hide_feature_image', 10, 3);