How to Customize WP Courses Course and Lesson Templates

WP Courses uses its own templates for course archives, single courses, course category archives, single lessons, teacher archives and single teacher pages. Templates and template parts for WP Courses can be found in the “templates” and...

How to Get Courses Purchased with WooCommerce

<?php $args = array( 'post_type' => 'course', ); $query = new WP_Query($args); while($query->have_posts()) { $query->the_post(); $course_id = get_the_ID(); $product_id = wpc_get_connected_product_id( $course_id ); $current_user = wp_get_current_user();...