Automatically add entries per category custom taxonomy upon plugin installation


I have a plugin created with boilerplate from this site:

And I would like to understand how to automatically add 4 entries in the custom taxonomy category that I have already processed.

I guess this code goes on the activator.php file, but I don’t know what code to apply to automatically generate these 4 categories.

Can you guys help me?

Matteo Feduzi 5 months 2021-06-10T08:42:00-05:00 0 Answers 0 views 0

Leave an answer