wpc_get_course_progress_table( int $user_id )

wpc_get_course_progress_table( $user_id )

Returns a formatted and sortable table of a user’s course progress.

Return 

(string)¬†Formatted table of the passed user’s course progress.

Parameters

$user_id (int) user ID

Usage

if(is_user_logged_in()){
	$user_id = get_current_user_id();

	$table = wpc_get_course_progress_table($user_id);

	echo $table;
}