[wp-hackers] wp_list_pages meta conditionals

Dan Gayle dangayle at gmail.com
Tue Feb 10 20:41:19 GMT 2009


I'm looking at the wp_list_pages template function page in the codex  
and at the bottom of the page it says this:

meta_key
     (string) Only include the Pages that have this Custom Field Key  
(use in conjunction with the meta_value field).
meta_value
     (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.




More information about the wp-hackers mailing list