comment_post_redirect

Advertisement

Summery Summery

Filters the location URI to send the commenter after posting.

Syntax Syntax

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

Parameters Parameters

$location

The 'redirect_to' URI sent via $_POST.

$comment

Comment object.

Source Source

File: wp-comments-post.php

Advertisement

Changelog Changelog

Changelog
Version Description
2.0.5 Introduced.

Advertisement

Leave a Reply