Thank you for your purchase!

    email;
    $args = array(
    ‘post_type’ => ‘product’,
    ‘posts_per_page’ => 12
    );
    $loop = new WP_Query( $args );
    if ( $loop->have_posts() ) {
    while ( $loop->have_posts() ) : $loop->the_post(); $_product = get_product( $loop->post->ID );
    if (wc_customer_bought_product($customer_email, $user_id,$_product->id)){

    echo do_shortcode(‘’);

    }
    endwhile;
    } else {
    echo __( ‘No products found’ );
    }
    wp_reset_postdata();
    ?>