Make WordPress Core

Changeset 5283


Ignore:
Timestamp:
04/18/2007 10:51:54 PM (19 years ago)
Author:
ryan
Message:

Add url_to_postid filter. Props Alex King. fixes #4160

File:
1 edited

Legend:

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

    r5150 r5283  
    6464function url_to_postid($url) {
    6565    global $wp_rewrite;
     66   
     67    $url = apply_filters('url_to_postid', $url);
    6668
    6769    // First, check to see if there is a 'p=N' or 'page_id=N' to match against
Note: See TracChangeset for help on using the changeset viewer.