wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



comment_post_redirect › WordPress Filter Hooks

Da2.0.5
Deprecaton/a
apply_filters( 'comment_post_redirect', $location, $comment )
Parametri: (2)
  • (string) $location The 'redirect_to' URI sent via $_POST.
    Richiesto:
  • (WP_Comment) $comment Comment object.
    Richiesto:
Definito a:
Codex:

Filters the location URI to send the commenter after posting.





Sorgenti

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