Updated deprecated function get_all_category_ids [Has Patch]
-
Here’s a quick patch to switch from the deprecated
get_all_category_ids
function to theget_terms()
function added in 4.0. I made the decision to use the 4.5 syntax but we could also use the 4.0 syntax if backwards compatibility was wanted see get_terms() for more.Patch is here:
https://gist.github.com/BandonRandon/66075fcc3471ce104b77fc5fbb13feaf
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Updated deprecated function get_all_category_ids [Has Patch]’ is closed to new replies.