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



comment_edit_redirect ›

Since2.1.0
已弃用n/a
apply_filters( 'comment_edit_redirect', $location, $comment_id )
参数: (2)
  • (string) $location The URI the user will be redirected to.
    Required: Yes
  • (int) $comment_id The ID of the comment being edited.
    Required: Yes
定义在:
文档:

Filters the URI the user is redirected to after editing a comment in the admin.





源码

$location = apply_filters( 'comment_edit_redirect', $location, $comment_id );