Can you please let me know how I can load checkboxes based on following code:
<?php wp_list_pages('title_li='); ?>
I know that this code will list load all pages in wordpress but I would like to have them in checkbox format which let user to select parent for a new product.
Thanks
This function if for creating a list of pages as links: Function_Reference/wp_list_pages.
So, you need another one:
get_pages.