wpseek.com
A WordPress-centric search engine for devs and theme authors



old_slug_redirect_post_id › WordPress Filter Hooks

Since4.9.3
Deprecatedn/a
apply_filters( 'old_slug_redirect_post_id', $id )
Parameters:
  • (int) $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 );