Loss of categories in taxonomy terms field
-
Hi there, for a custom post type I have defined a field (type: taxonomy terms) where the backend user can pick from certain taxonomies (here: some custom taxonomies and the post categories). The pick values are generated here: acf-extended/includes/fields/field-taxonomy-terms.php@convert_terms_to_choices(). There is a function call acf_get_grouped_terms() in line 1409. This function is defined in advanced-custom-fields-pro/includes/api/api-term.php. In this function, all categories are received by a parameter. What I don’t understand is, why are these categories sliced (line 253) based on an offset (line 236). 14 categories get in, only the last three get out. I do not see the reason for this behaviour, could you please explain what I am doing wrong or is this a bug?
Best regards,
Henning
- You must be logged in to reply to this topic.