Missing Codex Functions
-
I’m simply baffled as to why this is, and can’t figure out where the path is wrong.
There are quite a few ‘hidden’ functions that are simply not listed in the function_reference. Although it’s usually not an issue to have bad documentation, for a function reference index it really kills the application.
Here’s a quick example:
– You are trying to obtain the list of all comments for a specific post
– Looking at: https://codex.www.ads-software.com/Function_Reference you don’t see anything about the list of comments.
– Naturally you go about getting the comments through something like get_comments and go through the pain of formatting your commentsLittle did you know this function list is INCOMPLETE!
If you look through some other themes (hmm TwentyTen) you’ll notice the use the following function:
– wp_list_commetns()
Which returns exactly what you needed. How can this be? How could I have wasted time? It’s not in the above function reference – Must be a one-off functions.php. Nope.. then you search the codex and you find the following:
– wp_list_comments: https://codex.www.ads-software.com/Function_Reference/wp_list_commentsWait, so the function is a built-in wordpress function, correctly in the right path according to the URL.
Going back and forth through the pages there is absolutely ZERO reference to that function.So my question is – What the hell?? How can you simply decide not to index certain functions on the index, yet have full documentation of it hidden away.
Thank you for the (partially) useless codex documentation.
- The topic ‘Missing Codex Functions’ is closed to new replies.