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

(string) The 'redirect_to' URI sent via $_POST.

$comment

(WP_Comment) Comment object.

Source Source

File: wp-comments-post.php

Advertisement

Changelog Changelog

Changelog
Version Description
2.0.5 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.