Seems like a simple enough requirement, but I’m struggling:
I want to add an option field to the “Add New Site” — a simple text option is fine.
How do I do this??
I need to save this custom blog option when the site is created.
I know I can use the ‘wpmu_new_blog’ hook, which passes the $meta variable with supplied options, but I’m wondering if there’s a way to do this all in one step so I don’t have to perform another DB query, or worse yet, override/replace the whole site creation process?
I’m using WP 3.3.1 with a MultiSite setup. I’m writing a plugin that lists all the Sites which match the specified custom field value (let’s call it “type”).
Also, I’m an experienced PHP developer but I’m still relatively new to WordPress hacking, so please assume I am not yet intimately familiar with all of the various WP functions and hooks (though I’m learning!). 🙂
After getting no response at all from this community, I posted the question on StackOverflow (for more exposure) as well as StackExchange’s WordPress Answers site (for WP expertise). Initially slow there too so I threw in a bounty, and got some really great, useful answers.
So if you’re searching for similar answers and found this post, I suggest you check my links above. Good luck 🙂
Viewing 1 replies (of 1 total)
The topic ‘Multisite: How to add Custom Blog Options to new blog setup form?’ is closed to new replies.