get_wp_cats: Get WordPress Categories

Description Usage Arguments Value Examples

View source: R/get-wp-cats.R

Description

Retrieves the categories created on a WordPress site.

Usage

1
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

1
2
3
4
## Not run: 
get_wp_cats(root_url = 'domain.com')

## End(Not run)

wordpressr documentation built on June 2, 2021, 1:06 a.m.