Skip to content

Instantly share code, notes, and snippets.

@paulgibbs
Created March 9, 2013 16:58
Show Gist options
  • Save paulgibbs/5124826 to your computer and use it in GitHub Desktop.
Save paulgibbs/5124826 to your computer and use it in GitHub Desktop.
<?php
function pg_test_dk( $reply_url, $redirect_to, $reply_id ) {
error_log('redirecting: ' . print_r(compact($reply_url, $redirect_to, $reply_id), true));
}
add_filter( 'bbp_new_reply_redirect_to', 'pg_test_dk', 10, 3 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment