612-293-8629 HELLO@THEMIGHTYMO.COM

Today I needed to run a quick check to see if a WooCommerce Sensei Lesson was complete. It took some digging, but the answer is:

$user_id = get_current_user_id();
$value = WooThemes_Sensei_Utils::user_completed_lesson ( $post->ID, $user_id );
if ( $value == false ) {
	//Lesson Not Completed
} else {
	//Lesson Completed
}

Enjoy!
Toby

PHONE, EMAIL, TEXT

We love to communicate: phone, email, text, Facebook, Twitter, LinkedIn, you name it.

LOCATIONS

PAYMENTS ACCEPTED

Call Now

Enroll in Our Free Beginner WordPress Class - delivered to your Email Inbox!

Become a WordPress superstar for FREE in only minutes a day!  Our free Beginner WordPress Email Class will be delivered to your inbox!

Learn More 

You Have Successfully Enrolled! Prepare For Amazing!