[wp-hackers] Passin parameters to WP functions

Stefano steagl at people.it
Tue Nov 22 14:36:03 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

-- 

Stefano Aglietti - StallonIt on IRCnet - ICQ#: 2078431
Email: steve at 40annibuttati.it steagl at people.it
Sites: http://www.40annibuttati.it
       http://www.wordpress-it.it


More information about the wp-hackers mailing list