Download as rtf, pdf, or txt
Download as rtf, pdf, or txt
You are on page 1of 1

<?

php
global $wp;

$page_url = home_url( $wp->request );


$page_id = get_the_id();

global $post;

$parentId = $post->post_parent;
$parent_page_link = get_permalink($parentId);
$content_arr = get_contact_id();

//print_r($content_arr);

$user_id = get_current_user_id();
$lesson_info = get_user_meta( $user_id, 'lesson_info', false );
$totalRows = count($lesson_info);

$course_progress = get_user_meta( $user_id, '_sfwd-course_progress', false );


// course id = 19927;
$lessonStatus = $course_progress[0][19927]['lessons'];

if($user_id>0){
//$content_arr = get_contact_id();
$contactid = $content_arr['contactid'];
$get_dynamic_full_name = get_dynamic_full_name();

echo '<input type="hidden" name="codec_contactid" id="codec_contactid_custom"


value="{&quot;LogicalName&quot;:&quot;contact&quot;,&quot;Id&quot;:&quot;'.
$contactid.'&quot;,&quot;DisplayName&quot;:&quot;$'.
$get_dynamic_full_name.'&quot;}" user-exists='.$contactid.'>';

} ?>

You might also like