wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



comment_post_redirect › Les Filtres WordPress

Depuis2.0.5
Dépréciéen/a
apply_filters( 'comment_post_redirect', $location, $comment )
Paramètres: (2)
  • (string) $location The 'redirect_to' URI sent via $_POST.
    Requis: Oui
  • (WP_Comment) $comment Comment object.
    Requis: Oui
Défini(e) dans:
Codex:

Filters the location URI to send the commenter after posting.





Source

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