Awmen Posted January 31, 2011 Share Posted January 31, 2011 Okay, first of all, I'm sorry for what I think that is one of the dumbest questions ever but I'm a php newbie and I can't get this script to work. I'm trying to configure a php-cli script that posts to wordpress using xmlrpc and the categories of the blog have to be manually entered on the script, well, that's my problem, I don't know how or in which way or format I should put them in the script. This is the script. Categories must be entered here: $this->getCategories(); How do I add them to the script? Thank you for your time. Quote Link to comment https://forums.phpfreaks.com/topic/226192-how-should-i-configure-this-script/ Share on other sites More sharing options...
trq Posted January 31, 2011 Share Posted January 31, 2011 The categories are set using setCategories(). Quote Link to comment https://forums.phpfreaks.com/topic/226192-how-should-i-configure-this-script/#findComment-1167682 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.