How to insert new categories into database from a plugin
-
Hi
Im trying to make a new pluing that automatically makes a post everyday with weather information from around the world.
Every works fine except I would like to also create new categories from within the plugin either by a wp function or directly into the database. Sometimes the category might already be there sometimes not and I would then have to create it.
Is there a function to add a category or do I have to put it directly into the database ?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to insert new categories into database from a plugin’ is closed to new replies.