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
  • 59,784
  • 9
  • 71
  • 110
Shahid Sarwar
  • 1,209
  • 14
  • 29

0 Answers0