Reply To: New message form shortcode autopopulate to specific user


Home Forums Front End PM PRO New message form shortcode autopopulate to specific user Reply To: New message form shortcode autopopulate to specific user

#13662
Larry Cottle
Participant

<?php
Q Where are you adding this shortcode
A In php template where php code can be parsed
Heres The CODE:

$user = ‘godzilla’;
echo do_shortcode(‘[fep_shortcode_new_message_form to=godzilla subject="test"]‘)
?>
the form shows as expected.

<?php
$user = ‘godzilla’;
echo do_shortcode(‘[fep_shortcode_new_message_form to=$user subject="test"]‘)
?>

the form DOES NOT show.

LJC