Jump to content

How should I configure this script?


Awmen

Recommended Posts

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.

Link to comment
https://forums.phpfreaks.com/topic/226192-how-should-i-configure-this-script/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.