MB Rest API

外掛說明

MB Rest API is an extension of the Meta Box plugin which pulls all custom fields’ values (meta value) from posts, pages, custom post types, terms into the WordPress REST API responses under ‘meta_box’ key.

Plugin Links

See more extensions for the Meta Box plugin here.

安裝方式

You need to install Meta Box plugin and WordPress REST API first

  • Go to Plugins | Add New and search for Meta Box
  • Click Install Now button to install the plugin
  • After installing, click Activate Plugin to activate the plugin

Repeat the same process for WP REST API and MB Rest API.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈MB Rest API〉的開發相關工作。

參與者

將〈MB Rest API〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

= 1.5.0 – 2022-07-29
– Remove fields in the Rest API responses with hide_from_rest = true
– Do not show MB User Profile fields in the Rest API responses

1.4.1 – 2022-05-17

  • Fix not working with _filter.

1.4.0 – 2019-12-12

  • Add support for comment meta. Requires MB Comment Meta plugin.

1.3.6 – 2019-11-07

  • Fix term meta not available.

1.3.5

  • Fixed not updating fields in custom tables.

1.3.4

  • Make it safe to include into AIO plugin.
  • Removed _state from returned value for groups.

1.3.3

  • Fixed not updating user meta.

1.3.2

  • Fixed custom fields for terms not saving for POST request. Props Mirza Pandzo.
  • Fixed wrong key for post_tag. Props Mirza Pandzo.

1.3.1

  • Removed fields that have no values from the response (divider, heading, etc.).

1.3

  • Added fully support for terms and users. Both get and update meta values.

1.2

  • Improvement: The update callback now can accept array of params

1.1

  • Improvement: Add update callback
  • Fix: Make sure the returned values of image/file fields are always array

1.0.1

  • Fix: error when MB Term Meta is not installed

1.0.0

  • Initial release