This was a larger rewrite than I was planning, so any input, especially if anything is not clear enough, is greatly encouraged. -Kaf 08:12, 15 Jan 2005 (GMT)
I'm a little unclear on your section on defaults.
Not all tags will set defaults in this fashion, so check the documentation for a parameter's default value, and when one is specified use it as your parameter value.
If a parameter has a default value, and that is the value you want to use, you're suggesting passing that value to the function anyway? While it would certainly work, it seems like defaults should be... defaults. Maybe I'm just misinterpreting what you're saying.
Otherwise. Wow, this is a very informative page, and very well presented. Learn something new every day!
--MDAWaffe 08:59, 15 Jan 2005 (GMT)
''
to the category or limit parameters in get_links(). Not pretty. In such cases you have to treat WordPress like an idiot and inform a function of its defaults. But there's also the issue with 'text-displayed' string parameters, in that passing an empty value sets it to nothing, so one has no choice but to pass the default text value. -Kaf 09:46, 15 Jan 2005 (GMT)''
." All is clear now. Baby steps to nirvana.it's not mentioned if its possible to pass something like inline functions as callbacks, i.e. when defining a shortcode
I have been reading various Codex sections to clarify some questions I've had. This section is not all that clear in understanding. First: In the section on query-string-style parameters, the use of the word 'wrapper' is not well defined. It can be interpreted in more than one way. An example or some context would greatly improve the understanding of what the author is attempting to communicate. Second: Under the Callback section, the description is, "Some things call for a callback. There's no explanation of what they want, so good luck." Totally inappropriate. Not sure if the author is trying to be funny, or sarcastic, or what; but it certainly doesn't help the new reader who is visiting the page looking for an understanding of what the topic is all about.
I would attempt to edit these two examples, but after reading them, I'm unclear as to whether my understanding is correct or incorrect; and I didn't want to compound already existing problems.
If someone could jump in and writing some explanations, from the perspective that they understand that the information should be presented so that the 'uninformed', who don't know the information, can get a handle on it. Obviously, that's why they came to these Codex pages in the first place.
Thanks