wp_site_stats: Get a site's stats

Description Usage Arguments Value References Examples

View source: R/site-stats.R

Description

Get a site's stats

Usage

1

Arguments

site

site id or domain; if not specified, the primary site of the authenticated user will be used.

Value

list with a great deal of stats metadata. You are probably most interested in the 'visits' element.

References

<https://developer.wordpress.com/docs/api/1.1/get/sites/$site/stats/>

Examples

1
2
3
4

hrbrmstr/pressur documentation built on June 30, 2020, 6:04 a.m.