這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

REST API Custom Fields

描述

This plugin enhances WordPress REST API v2 responses about metadata.

螢幕截圖

  • Settings pane

安裝

  1. Upload “rest-api-custom-fields” folder to the “/wp-content/plugins/” directory.
  2. Activate the plugin through the “Plugins” menu in WordPress.
  3. New item “REST API Custom Fields” appears in the admin menu (under the Settings menu). There you can select which metadata you want to contain in the REST API response.

評價

2022年10月29日
Simple but great plugin. It allowed me to add everything I needed from my CPT fields to the WP rest API v2. Thank you guys!
2021年5月2日
This is truly excellent. It makes adding fields to the Rest API easy. However, there’s the slight issue that it slows down every. single. page. by 3-5 seconds because it makes a terribly slow SQL query on EVERY admin page. So I use it when I need it. Then I quickly deactivate it.
2020年10月27日
Extremely simple to use and effective, just plain plug-and-play style. Thank you very much for the amazing app.
2019年12月22日
Hey bro, you created an awesome plugin. Your plugin solved all my issues, thank you so much, my friend.
閱讀全部8個評價

貢獻者及開發者

“REST API Custom Fields” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 REST API Custom Fields 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.3

  • It is now possible to expose custom fields of custom post types

1.2

  • Exposed values can now contain arrays
  • Attributes representing custom fields moved directly under the top-level node in the response

1.1

  • Fixed db prefix

1.0

  • Init version