[wp-hackers] wp_list_pages meta conditionals
otto at ottodestruct.com
Tue Feb 10 21:47:48 GMT 2009
2009/2/10 Dan Gayle <dangayle at gmail.com>:
> I'm looking at the wp_list_pages template function page in the codex and at the bottom of the page it says this:
> (string) Only include the Pages that have this Custom Field Key (use in conjunction with the meta_value field).
> (string) Only include the Pages that have this Custom Field Value (use in conjuntion with the meta_key field).
> Opening the actual wp_list_pages function in post-template.php in 2.7, there is clearly no reference to meta_key or meta_value. What gives? It would actually be a handy option to have.
Lots and lots of functions in WordPress pass their entire argument
list down to subfunctions, so parameters for those subfunctions can be
used in the higher level functions as well.
So the arguments that are actually available to a function may not
actually be in that function.
More information about the wp-hackers