Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Typical Filter
<?php
/**
* The location to send commenter after posting
*
* @since 1.5.0
*
* @param string $location The 'redirect_to' URI sent via $_POST
* @param object The comment object
*/
$location = apply_filters('comment_post_redirect', $location, $comment);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment