I’d like to insert some mysql data into every new blog that’s created on my buddypress system. How can I hook up to the newly created blog data? ID, for example, would allow me to insert it right from the PHP. Is there a better way to do it?
Thanks!
I’d like to insert some mysql data into every new blog that’s created on my buddypress system. How can I hook up to the newly created blog data? ID, for example, would allow me to insert it right from the PHP. Is there a better way to do it?
Thanks!
You must be logged in to post a comment.
see: How To Modify New Sub Blog Immediately When Super Administrator Creates It?
The code I wanted to post I unfortunately could not post beacause “body is limited to 30000 characters; you entered 62367” so … the following filters are handy (from WordPressMU plugin for site admin to set defaults for new blogs, Deanna Schneider) :