0

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!

1
  • I've problems to understand your question, can you add more information?
    – hakre
    Commented Feb 5, 2011 at 17:27

1 Answer 1

1

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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