W3cubDocs

/WordPress

apply_filters( 'old_slug_redirect_post_id', int $id )

Filters the old slug redirect post ID.

Parameters

$id

(int) The redirect post ID.

Source

File: wp-includes/query.php

View on Trac

Changelog

Version Description
4.9.3 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/old_slug_redirect_post_id