I searched alot on the internet but couldnt find the use of : in php. Someone please explain this to me. Thanks
I have a statement like this
   $loop = new WP_Query( $args );
        while ( $loop->have_posts() ) : $loop->the_post(); 
and i want to understand what : is used for here.
 
    