Retrieves the categories created on a WordPress site.

get_wp_cats(root_url)

Arguments

root_url

THe domain for which categories are sought to be retrieved.

Value

A data frame, unique by category ID, with 7 columns: category ID, category name, category slug, post count, description, URL, and parent category.

Examples

if (FALSE) { get_wp_cats(root_url = 'domain.com') }