Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Notify user when a reply goes into moderation

@robin-w

Moderator

just had a thought

create a WordPress page with a permalink of ‘/moderation’ and in that put some text say

‘your post is being held pending moderation’

tehn put this in your child theme’s function file – or use

Code Snippets

//add message if reply held in moderation
add_filter ('bbp_new_reply_redirect_to' , 'rew_pending_check', 10 , 3) ;

function rew_pending_check  ($reply_url, $redirect_to, $reply_id)
	$status = get_post_status ($reply_id) ;
	if ($status == 'pending' ) {
		$reply_url = '/moderation/' ;
	}
return $reply_url ;
}

not perfect by any means, but better than the nothing they now get

If you could test for me, I’ll see if I can improve how it works

Skip to toolbar