W3cubDocs

/WordPress

apply_filters( 'old_slug_redirect_url', string $link )

Filters the old slug redirect URL.

Parameters

$link

(string) The redirect URL.

Source

File: wp-includes/query.php

View on Trac

Changelog

Version Description
4.4.0 Introduced.

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