wpseek.com
A WordPress-centric search engine for devs and theme authors



url_to_postid › WordPress Filter Hooks

Since2.2.0
Deprecatedn/a
apply_filters( 'url_to_postid', $url )
Parameters:
  • (string) $url The URL to derive the post ID from.
    Required: Yes
Defined at:
Codex:

Filters the URL to derive the post ID from.





Source

$url = apply_filters( 'url_to_postid', $url );