On this page
apply_filters( 'url_to_postid', string $url )
Filters the URL to derive the post ID from.
Parameters
$urlstring-
The URL to derive the post ID from.
Source
File: wp-includes/rewrite.php. View all references
$url = apply_filters( 'url_to_postid', $url );
Related
Used By
| Used By | Description |
|---|---|
| url_to_postid() wp-includes/rewrite.php | Examines a URL and try to determine the post ID it represents. |
Changelog
| Version | Description |
|---|---|
| 2.2.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/url_to_postid