Make WordPress Core


Ignore:
Timestamp:
07/17/2005 04:58:13 PM (20 years ago)
Author:
ryan
Message:

in_the_loop() Props: Mark Jaquith fixes #1518

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions.php

    r2715 r2716  
    14141414}
    14151415
     1416function in_the_loop() {
     1417    global $wp_query;
     1418   
     1419    return $wp_query->in_the_loop;
     1420}
     1421
    14161422function get_query_var($var) {
    14171423  global $wp_query;
Note: See TracChangeset for help on using the changeset viewer.