old_slug_redirect_post_id

SummerySummery

Filters the old slug redirect post ID.

Syntax

apply_filters( 'old_slug_redirect_post_id', int $id )

ParametersParameters

$id

(int) The redirect post ID.

SourceSource

File: wp-includes/query.php

ChangelogChangelog

Changelog
Version Description
4.9.3 Introduced.
Scroll to Top