Mô tả
WP REST API endpoints to help manage sites remotely
All additional endpoints are under the wp-site-monitor/v1/
namespace.
e.g. https://example.com/wp-json/wp-site-monitor/v1/wp-version
Additional endpoints
-
wp-version
returns the current version of wordpress as a string.Example output:
"4.9.2"
-
plugins
returns a JSON object listing installed plugins with the plugin details.Example output:
json
{
"wp-super-cache/wp-cache.php": {
"Name": "WP Super Cache",
"PluginURI": "https://wordpress.org/plugins/wp-super-cache/",
"Version": "1.5.9",
"Description": "Very fast caching plugin for WordPress.",
"Author": "Automattic",
"AuthorURI": "https://automattic.com/",
"TextDomain": "wp-super-cache",
"DomainPath": "",
"Network": false,
"Title": "WP Super Cache",
"AuthorName": "Automattic",
"Active": true
},
"wordpress-seo/wp-seo.php": {
"Name": "Yoast SEO",
"PluginURI": "https://yoa.st/1uj",
"Version": "6.1.1",
"Description": "The first true all-in-one SEO solution for WordPress, including on-page content analysis, XML sitemaps and much more.",
"Author": "Team Yoast",
"AuthorURI": "https://yoa.st/1uk",
"TextDomain": "wordpress-seo",
"DomainPath": "/languages/",
"Network": false,
"Title": "Yoast SEO",
"AuthorName": "Team Yoast",
"Active": true
}
}
Options are provided in the WP Site Monitor settings menu to toggle individual endpoints.
Cài đặt
- Upload the plugin files to the
/wp-content/plugins/wp-site-monitor
directory, or install the plugin through the
WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress.
- Use the Settings->WP Site Monitor screen to configure the plugin.
Hỏi đáp
- Installation Instructions
-
- Upload the plugin files to the
/wp-content/plugins/wp-site-monitor
directory, or install the plugin through the
WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress.
- Use the Settings->WP Site Monitor screen to configure the plugin.
- Upload the plugin files to the
- How does authentication work with this plugin?
-
Because this plugin just extends the official REST API, you can use any authentication method the REST API supports.
You may want to use a another plugin to add extra authentication methods such as
WordPress REST API – OAuth 1.0a Server or
JWT Authentication for WP REST API
Đánh giá
There are no reviews for this plugin.
Người đóng góp & Lập trình viên
“WP Site Monitor” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.
Những người đóng gópDịch “WP Site Monitor” sang ngôn ngữ của bạn.
Muốn tham gia phát triển?
Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.