[solved]how to get list of categories programmatically
Posted: 22 Dec 2022, 02:31
Hi there
I was wondering if there is a ready-to-use function that allows me to get a list of categories in php.
Do I have to manually query the database and get them from the corresponding table? if I need to query manually is there at least a method like some "do_query" function, or do I really connect to the database on my own and get what I need?
I checked the developer guide but could not find much about it
Thanks
I was wondering if there is a ready-to-use function that allows me to get a list of categories in php.
Do I have to manually query the database and get them from the corresponding table? if I need to query manually is there at least a method like some "do_query" function, or do I really connect to the database on my own and get what I need?
I checked the developer guide but could not find much about it
Thanks