WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to add a new INPUT field to the blog creation form on Buddypress. Adding the front-end element is the easy part. I'm having some hard time trying to save it.

The variable is a string, and I've added wpmu_new_blog a function that adds the variable as an option (add_option('name','value');).

Despite the fact I've specified global $variable in the function, the variable won't pass.

Ideas? Thanks!

share|improve this question
I've problems to understand your question, can you add more information? – hakre Feb 5 '11 at 17:27

The Wordpress Setting API should provide everything you need, it even automatically stores values IIRC. As buddypress is built on top of WordPress I assume this work for buddypress as well.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.