Passing FORM variable to buddypress create site template
-
Anybody know how I could pass the $blogname variable from a html form to the buddypress create a new site form field?
I am replicating something similar as found here https://wordpress.com/ and from the form have tried both a GET and POST method
In my themes’ blogs/create.php i tried ` $blogname = $_REQUEST[‘site’];
echo $blogname;` also tried $blogname = $_POST, but no luckI would like the blogname form field in the create pre populated with the form post from my landing screen
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Passing FORM variable to buddypress create site template’ is closed to new replies.