url_to_postid

Advertisement

Summery Summery

Filters the URL to derive the post ID from.

Syntax Syntax

apply_filters( 'url_to_postid', string $url )

Parameters Parameters

$url

(string) The URL to derive the post ID from.

Source Source

File: wp-includes/rewrite.php

Advertisement

Changelog Changelog

Changelog
Version Description
2.2.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.