wp_list_categories
gives you HTML markup of links (<a>
) to the categories while get_categories
just returns the data to be used for whatever you wanted.
But actually Pieter is right, in such cases just give it a try, nobody will get hurt 😉
wp_list_categories
gives you HTML markup of links (<a>
) to the categories while get_categories
just returns the data to be used for whatever you wanted.
But actually Pieter is right, in such cases just give it a try, nobody will get hurt 😉