Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

wordpresss loop through object

foreach ( $lessons as $lesson ){
    if( $lesson['status'] == 'completed' ){
        echo $lesson['post']->post_title;
    }
}
Source by wordpress.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #wordpresss #loop #object
ADD COMMENT
Topic
Name
3+1 =