• How to include Terms data as follow when a Create Post. May I know how to add this data object

    `”terms”: {

    “job_cat”: [
    {
    “ID”: 1323,
    “name”: “Engineering”,
    “slug”: “engineering”,
    “description”: “”,
    “taxonomy”: “job_cat”,
    “parent”: null,
    “count”: 121,
    “link”: “http:\/\/www.example.com\/job-category\/engineering\/”,
    “meta”: {
    “links”: {
    “collection”: “http:\/\/www.example.com\/wp-json\/taxonomies\/job_cat\/terms”,
    “self”: “http:\/\/www.example.com\/wp-json\/taxonomies\/job_cat\/terms\/43”
    }
    }
    }
    ],
    “job_type”: [
    {
    “ID”: 3,
    “name”: “Full-Time”,
    “slug”: “full-time”,
    “description”: “”,
    “taxonomy”: “job_type”,
    “parent”: null,
    “count”: 315,
    “link”: “http:\/\/www.example.com\/job-type\/full-time\/”,
    “meta”: {
    “links”: {
    “collection”: “http:\/\/www.example.com\/wp-json\/taxonomies\/job_type\/terms”,
    “self”: “http:\/\/www.example.com\/wp-json\/taxonomies\/job_type\/terms\/3”
    }
    }
    }
    ],
    “job_loc”: [
    {
    “ID”: 1322,
    “name”: “Yangon”,
    “slug”: “yangon”,
    “description”: “”,
    “taxonomy”: “job_loc”,
    “parent”: null,
    “count”: 290,
    “link”: “http:\/\/www.example.com\/job-location\/yangon\/”,
    “meta”: {
    “links”: {
    “collection”: “http:\/\/www.example.com\/wp-json\/taxonomies\/job_loc\/terms”,
    “self”: “http:\/\/www.example.com\/wp-json\/taxonomies\/job_loc\/terms\/1287”
    }
    }
    }
    ]
    }

  • The topic ‘How to include Terms data fields in a Create Post’ is closed to new replies.