the_post() – Iterate the post index in the loop.

You appear to be a bot. Output may be restricted

Description

Iterate the post index in the loop.

Usage

the_post();

Parameters

Returns

void

Source

File name: wordpress/wp-includes/query.php


Lines:

1 to 10 of 10
function the_post() {
  global $wp_query;

  if ( ! isset( $wp_query ) ) {
    return;
  }

  $wp_query->the_post();
}
 

 View on GitHub View on Trac