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



comment_edit_redirect › WordPress Filter Hooks

Since2.1.0
Deprecatedn/a
apply_filters( 'comment_edit_redirect', $location, $comment_id )
Parameters: (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
Defined at:
Codex:

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





Source

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