WordPresss петля через объект
foreach ( $lessons as $lesson ){
if( $lesson['status'] == 'completed' ){
echo $lesson['post']->post_title;
}
}
Smoggy Snake
foreach ( $lessons as $lesson ){
if( $lesson['status'] == 'completed' ){
echo $lesson['post']->post_title;
}
}