wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



comment_edit_redirect › Hooks de Filtros WordPress

Desde2.1.0
Obsoleton/a
apply_filters( 'comment_edit_redirect', $location, $comment_id )
Parâmetros: (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
Definido em:
Codex:

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





Fonte

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