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 by Email

Never feel powerless in WordPress again!  Become a WordPress superstar for free in only minutes a day!

Our Beginner WordPress Email Class is delivered to your inbox!

Learn More 

You Have Successfully Enrolled! Prepare For Amazing!