Support

Account

Forum Replies Created

  • made it work using this code instead

    
    		$cat_lookup_key = 'quote_category_'.$term->term_id;
    		$data[$i]['image'] = get_field('category_image', $cat_lookup_key);
    		$data[$i]['color'] = get_field('category_color', $cat_lookup_key);
    		$data[$i]['priority'] = get_field('category_priority', $cat_lookup_key);

    hope it helps someone else.

  • it works for me with the POST type, I’m having problems with TEMRS.

    yes, my term object `{
    “id”: 12,
    “name”: “Fulfillment”,
    “description”: “”,
    “image”: null,
    “color”: null
    }`

    has an image and color value assigned from the wp-admin

    any idea to solve?

Viewing 2 posts - 1 through 2 (of 2 total)