I generally Google when I need a quick reference for a Wordpress function, and generally it's a Codex post that comes up first (eg. https://codex.wordpress.org/Function_Reference/get_term when Googling 'get-term').
I've been relying on the codex for years, and was vaguely aware that there was a separate Code Reference (eg. https://developer.wordpress.org/reference/functions/get_term/) that did give more detail than the Codex... but mostly appeared to be a duplicate listing. Sometimes this returns first in Google searches instead.
But recently I've come across discrepencies between the two... and it seems the Codex may be out of date on some things. For example, re. the two links above - I spent a bit of time reading trac tickets before I realised that $taxonomy
is indeed no longer a required parameter on get_term()
. I was on the garden path because the Codex still lists that it is required.
I can't see anywhere on the Codex that mentions it is deprecated, although there are links to the Code Reference at the top of each page.
Does anyone know if the Codex is deprecated? Does it still serve a purpose? Or should I be pretty much ignoring it and just using developer.wordpress.org?