Hi @cashless
Modifying the core WP is not a smart move as it will be overridden by an update.
You should read the docs about using a custom Walker class to output the data you want.
As for actually getting ACF data for a taxonomy term, this is well documented. Please read the docs.
Thanks
E