Answers for "wordpresss loop through object"

PHP
0

wordpresss loop through object

foreach ( $lessons as $lesson ){
    if( $lesson['status'] == 'completed' ){
        echo $lesson['post']->post_title;
    }
}
Posted by: Guest on August-02-2020

Browse Popular Code Answers by Language