Menu
wpseek
mobile
Search
url_to_postid
url_to_postid
(
$url
)
Parameters:
(string)
url
Permalink to check.
Returns:
(int) Post ID, or 0 on failure.
Defined at:
wp-includes/rewrite.php
, line 492
Introduced in WordPress:
1.0.0
Deprecated in WordPress:
—
Description
Examines a URL and try to determine the post ID it represents.Checks are supposedly from the hosted site blog.
Related Functions
attachment_url_to_postid
,
format_to_post
,
bulk_edit_posts
,
write_post
,
get_post_field
Top Google Results
User discussions
More ...
New topic ...
wpseek
mobile
Recently added
2
_wp_filter_font_directory
wp_font_dir
My Bookmarks
- Soon -
About
Imprint
Privacy Policy