apply_filters( 'comment_post_redirect', string $location, WP_Comment $comment )

Filters the location URI to send the commenter after posting.


Parameters

$location

The 'redirect_to' URI sent via $_POST.

$comment

Comment object.


Source

File: wp-comments-post.php

View on GitHub


Changelog

Changelog
Version Description
WP-2.0.5 Introduced.