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
Changelog
Version | Description |
---|---|
4.9.3 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/old_slug_redirect_post_id