OK. The reason I asked to see how you’re using it is so that I can see if you’re using it specifically for the term meta stored with this plugin, or if you’re using it for the general retrieval of term meta.
rgc_get_term_meta()
is a wrapper for two things: get_term_meta()
and then if that failed, to get the term meta that Genesis used to add in pre-2.3.0 (2016). This code still exists in the updated plugin (which you can see here). However this is a private method not accessible directly.
The only reason this code still exists is for people running Genesis pre-2.3.0, when genesis slurped in all term meta whenever a term object was retrieved. This hasn’t been in Genesis since 2016 and I plan to phase out support for it at some point in the future.
So there are two options. First, I can add back that function for you. However I don’t suggest this.
The second solution is to use either gtaxi_get_taxonomy_image
or get_term_meta
to get the image ID.
Marking gtaxi_get_taxonomy_image
as deprecated was a mistake that I’ll fix shortly.
-
This reply was modified 4 years, 9 months ago by theMikeD.