I'm trying to manually insert the send private message button in the bbPress templates. I know this can be achieved automatically via hooks but I'm opting to do it manually because I'd like to control some of the properties of the button.
Here's my code within loop-single-reply.php but nothing is showing.
<?php echo do_shortcode( '[pm_user user_id="2" in_the_loop="0" text="Send PM"]' ); ?>
When debugging, I swapped the shortcode for the message inbox and this worked perfectly so I'm guessing the pm_user shortcode might still need a little work?
Hope you can help,