Learn R Programming

wordpressr (version 0.2.3)

get_wp_cats: Get WordPress Categories

Description

Retrieves the categories created on a WordPress site.

Usage

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

Run this code
# NOT RUN {
get_wp_cats(root_url = 'domain.com')
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab