I have problem with inserting category names into database.
All work fine for tags and post meta but for category not.
Example of working code:
'tags_input' => (''.$tag.', '.$tag1.''), add_post_meta($post_id, 'img', $img, true);
‘post_category’ didn’t work in my case…
Thank you in advanced.
- The topic ‘Inserting category name into database’ is closed to new replies.