[wp-hackers] Passin parameters to WP functions
dougal at gunters.org
Tue Nov 22 15:13:55 GMT 2005
> it's possible and if yes how to pass parametres to a wp fuunction?
> I wanna pass to wp_list_pages() function an ID for the child_of
> option, I've tried different sintax (I have the ID in a variable named
> $menu_ID but with no fortune.
> I put the parametres into a string passed to the function like in
> wp_list_pages($param); but it acts like the title_li= (that's a space
> to not show parent page doens't works.
> Any help? Thanks in advance
This is documented in the Codex:
If you need to pass more than one option, you might also want to review
Dougal Campbell <dougal at gunters.org>
More information about the wp-hackers