WordPress.org

Make WordPress Core

Changeset 5918


Ignore:
Timestamp:
08/22/2007 10:30:06 PM (12 years ago)
Author:
ryan
Message:

Add get_lastpostdate and 'get_lastpostdatemodified filters. Props rob1n. fixes #4801

File:
1 edited

Legend:

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

    r5906 r5918  
    16711671        $lastpostdate = $cache_lastpostdate[$blog_id][$timezone];
    16721672    }
    1673     return $lastpostdate;
     1673    return apply_filters( 'get_lastpostdate', $lastpostdate );
    16741674}
    16751675
     
    16981698        $lastpostmodified = $cache_lastpostmodified[$blog_id][$timezone];
    16991699    }
    1700     return $lastpostmodified;
     1700    return apply_filters( 'get_lastpostmodified', $lastpostmodified );
    17011701}
    17021702
Note: See TracChangeset for help on using the changeset viewer.