Description Usage Arguments References Examples
Get information about a site
1 | wp_site_info(site)
|
site |
site id or domain; if not specified, the primary site of the authenticated user will be used. |
<https://developer.wordpress.com/docs/api/1.2/get/sites/$site/>
1 2 3 4 | if (interactive() {
wp_auth()
wp_site_info()
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.