apply_filters( 'url_to_postid', string $url )
Filters the URL to derive the post ID from.
Parameters
- $url
-
(string) The URL to derive the post ID from.
Source
File: wp-includes/rewrite.php
Changelog
Version | Description |
---|---|
2.2.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/url_to_postid