url_to_postid Wordpress function


Description:

Examine a url and try to determine the post ID it represents.


Syntax:


Arguments:

(string) $url Permalink to check.


Return Type:

(int) Post ID, or 0 on failure.


Define At:

wp-includes/rewrite.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/url_to_postid


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×