0

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.

ndm
  • 57,884
  • 9
  • 69
  • 108
Shahid Sarwar
  • 1,112
  • 12
  • 25

0 Answers0