I am currently receiving data from a custom taxonomy using this:
$ terms = get_terms (array ( & # 39; taxonomy & # 39; => & # 39; my_custom_taxonomy_name & # 39; & # 39; hide_empty & # 39; => true ));
Now, it returns a lot of things in every
I only need 2 of them:
first name and
slug. How can I filter this query so that it does not return any unused data?