Feature: Adding Taxonomy Terms Programmatically
-
I’m trying to create a theme that comes with a few predefined taxonomies and taxonomy terms.
Polylang uses metadata to store information about each element’s language, as well as about the IDs of each element’s translations.
So, one way to programmatically predefine terms and their translations in a theme seems to be via explicit calls to add_metadata() – but that seems very hacky.
Does (or will) polylang provide an API to set up languages, taxonomy terms, and their translations, via high-level function calls?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Feature: Adding Taxonomy Terms Programmatically’ is closed to new replies.