get_wp_posts_after: Retrieve WordPress Posts After a Certain Date

Description Usage Arguments Value Examples

View source: R/get-wp-posts-after.R

Description

Retrieve posts made on the WordPress site.

Usage

1
get_wp_posts_after(root_url, after_date)

Arguments

root_url

The WordPress site for which posts are sought to be retrieved.

after_date

The date after which posts should be returned. Should be in "YYYY-MM-DD" format

Value

A data frame returning the post ID, publication date, title, excerpt, content, tag IDs,category IDs, and author IDs.

Examples

1
2
3
4
## Not run: 
get_wp_posts(root_url = 'https://domain.com',post_count = 200, after_date = NULL)

## End(Not run)

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