post_category NOT WORKING
-
I have a script that’s making a custom post from a .csv file
Their is a row called Category where i set the post category, but the script just sets the category to uncatagorized. it used to work on old wordpress im sure
the code is
$my_post[‘post_category’] = prep($row[‘category’]);
anybody know a fix for this?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘post_category NOT WORKING’ is closed to new replies.