A WordPress-centric search engine for devs and theme authors



old_slug_redirect_post_id ›

Since4.9.3
Deprecatedn/a
apply_filters( 'old_slug_redirect_post_id', $id )
Parameters:
  • (string) $id The redirect post ID.
    Required: Yes
Defined at:
Codex:

Filters the old slug redirect post ID.





Source

$id = apply_filters( 'old_slug_redirect_post_id', $id );