Retrieves the categories created on a WordPress site.
get_wp_cats(root_url)
root_url | THe domain for which categories are sought to be retrieved. |
---|
A data frame, unique by category ID, with 7 columns: category ID, category name, category slug, post count, description, URL, and parent category.
if (FALSE) { get_wp_cats(root_url = 'domain.com') }