How to call wordpress functions in custom php script
Posted
by sid.sri
on Stack Overflow
See other posts from Stack Overflow
or by sid.sri
Published on 2010-01-19T06:20:18Z
Indexed on
2010/03/08
19:06 UTC
Read the original article
Hit count: 334
I have a Php script I want to use for creating a new blog in WPMU. I am having trouble calling wordpress functions like "wpmu_create_user" and "wpmu_create_blog".
My hope is to get this script running as a cron job from command line and pick up new blog creation requests from an external db, create a new blog using the wordpress functions and update the db with new blog info.
Any help/suggestions are highly appreciated.
Sid.
© Stack Overflow or respective owner