ID; } if( has_post_thumbnail($id) ){ echo get_the_post_thumbnail( $id, $size, array('class' => 'img-responsive', 'data-pid' => $id ) ); } } add_action( 'wpc_featured_image', 'render_wpc_feature_image', 10, 2 );