WordPress at Your Fingertips
filter is not described

comment_post_redirect filter-hook . WP 2.0.5

Filters the location URI to send the commenter after posting.


add_filter( 'comment_post_redirect', 'filter_function_name_343', 10, 2 );
function filter_function_name_343( $location, $comment ){
	// filter...

	return $location;
The 'redirect_to' URI sent via $_POST.
Comment object.


Since 2.0.5 Introduced.

Where the hook is called

In file: /wp-comments-post.php
wp-comments-post.php 78
$location = apply_filters( 'comment_post_redirect', $location, $comment );

Where in WP core the hook is used WordPress

Usage not found.