advanced custom fields – (ACF) How to get taxonomy term id on edit term page (acf/render_field)?

Question

This must be really simple and I’m missing something, but I’m trying to add some content inside ACF taxonomy term field. I’m using the acf/render_field hook to do so.
But I can’t seem to be able to find a way to get the ID of the term that is currently being edited. get_queried_object() returns null and get_current_screen() isn’t helpful either.

When using {\$taxonomy}_term_edit_form getting the term id is simple enough.

Thanks.

0
3 days 2022-09-21T12:03:17-05:00 0 Answers 0 views 0