wpseek.com
WordPress开发者和主题制作者的搜索引擎



old_slug_redirect_post_id › WordPress过滤钩子

Since4.9.3
已弃用n/a
apply_filters( 'old_slug_redirect_post_id', $id )
参数:
  • (int) $id The redirect post ID.
    Required: Yes
定义在:
文档:

Filters the old slug redirect post ID.





源码

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