powered by
Retrieves the categories created on a WordPress site.
get_wp_cats(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.
# NOT RUN { get_wp_cats(root_url = 'domain.com') # } # NOT RUN { # }
Run the code above in your browser using DataLab