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



comment_post_redirect ›

Desde2.0.5
Obsoleton/a
apply_filters( 'comment_post_redirect', $location, $comment )
Parâmetros: (2)
  • (string) $location The 'redirect_to' URI sent via $_POST.
    Required: Yes
  • (WP_Comment) $comment Comment object.
    Required: Yes
Definido em:
Codex:

Filters the location URI to send the commenter after posting.





Fonte

$location = apply_filters( 'comment_post_redirect', $location, $comment );