Make WordPress Core


Ignore:
Timestamp:
08/24/2004 08:43:01 AM (22 years ago)
Author:
rboren
Message:

Template redirection.

File:
1 edited

Legend:

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

    r1556 r1558  
    15911591}
    15921592
     1593function is_page () {
     1594    global $wp_query;
     1595
     1596    return $wp_query->is_page;
     1597}
     1598
    15931599function is_archive () {
    15941600    global $wp_query;
Note: See TracChangeset for help on using the changeset viewer.