apply_filters( ‘url_to_postid’, string $url )

In this article

Filters the URL to derive the post ID from.

Parameters

$urlstring
The URL to derive the post ID from.

Source

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

Changelog

VersionDescription
2.2.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.