跳到内容

Filter WP Api

v1.1.0

ogulcan · 2017年9月30日 上架

A wordpress plugin that clears huge fields of WP Rest API.

正在使用
10 以下
评分
暂无
累计下载
1,569
最近更新
2017年10月21日
需要 WordPress 4.7+已测试到 4.8.35PHP 5.2.4+

贡献者

截图

screenshot-1.png
screenshot-1.png
screenshot-2.png
screenshot-2.png

If you ever used WP Rest API, you should have noticed that there are lots of fields that even your client does not need. It makes no sense to load all fields for simple list or even single post view.

This plugin aims to remove redundant fields on Rest API. For now, it’s only available for posts.

Features

There are two endpoints: “compact” and “detailed.

  • “Compact” is useful for listing posts and Detailed is better for single post view.
  • First image of featured media will be added as ‘image’ on detailed and compact.
  • Modified was used as default date.
  • Requires at least WordPress 4.7

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums