Title: MB Rest API
Author: Anh Tran
Published: <strong>9 juin 2016</strong>
Last modified: 9 mars 2026

---

Recherche d’extensions

![](https://ps.w.org/mb-rest-api/assets/banner-772x250.png?rev=1697804)

![](https://ps.w.org/mb-rest-api/assets/icon-128x128.png?rev=1697798)

# MB Rest API

 Par [Anh Tran](https://profiles.wordpress.org/rilwis/)

[Télécharger](https://downloads.wordpress.org/plugin/mb-rest-api.2.0.6.zip)

 * [Détails](https://fr.wordpress.org/plugins/mb-rest-api/#description)
 * [Avis](https://fr.wordpress.org/plugins/mb-rest-api/#reviews)
 *  [Installation](https://fr.wordpress.org/plugins/mb-rest-api/#installation)
 * [Développement](https://fr.wordpress.org/plugins/mb-rest-api/#developers)

 [Support](https://wordpress.org/support/plugin/mb-rest-api/)

## Description

[**MB Rest API**](https://metabox.io/plugins/mb-rest-api/) is an extension for [Meta Box](https://metabox.io)
which helps you to get and update custom fields’ values (meta value) from posts,
pages, custom post types, terms via the WordPress REST API.

> **Meta Box Lite**
>  We recommend using [Meta Box Lite](https://metabox.io/lite/),
> a feature-rich free UI version of Meta Box that provides UI and all free features
> for managing custom fields and dynamic content on WordPress, including post types,
> taxonomies, custom fields, and relationships.

### Plugin Links

 * [Project Page](https://metabox.io/plugins/mb-rest-api/)
 * [Documentation](https://docs.metabox.io/extensions/mb-rest-api/)
 * [Github Repo](https://github.com/rilwis/mb-rest-api/)

See more [Meta Box plugins](https://metabox.io/plugins/).

### You might also like

If you like this plugin, you might also like our other WordPress products:

 * [Slim SEO](https://wpslimseo.com) – A fast, lightweight and full-featured SEO
   plugin for WordPress with minimal configuration.
 * [Falcon](https://wpfalcon.pro) – A lightweight companion for making WordPress
   faster, cleaner, and more secure.
 * [GretaThemes](https://gretathemes.com) – Free and premium WordPress themes that
   clean, simple and just work.
 * [Auto Listings](https://wpautolistings.com) – A car sale and dealership plugin
   for WordPress.

## Installation

You need to install [Meta Box](https://metabox.io) 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**.

## Avis

Il n’y a aucun avis pour cette extension.

## Contributeurs/contributrices & développeurs/développeuses

« MB Rest API » est un logiciel libre. Les personnes suivantes ont contribué à cette
extension.

Contributeurs

 *   [ Anh Tran ](https://profiles.wordpress.org/rilwis/)
 *   [ Meta Box ](https://profiles.wordpress.org/metabox/)
 *   [ barcavn2 ](https://profiles.wordpress.org/barcavn2/)

[Traduisez « MB Rest API » dans votre langue.](https://translate.wordpress.org/projects/wp-plugins/mb-rest-api)

### Le développement vous intéresse ?

[Parcourir le code](https://plugins.trac.wordpress.org/browser/mb-rest-api/), consulter
le [SVN dépôt](https://plugins.svn.wordpress.org/mb-rest-api/), ou s’inscrire au
[journal de développement](https://plugins.trac.wordpress.org/log/mb-rest-api/) 
par [RSS](https://plugins.trac.wordpress.org/log/mb-rest-api/?limit=100&mode=stop_on_copy&format=rss).

## Journal des modifications

#### 2.0.6 – 2026-03-09

 * Fix updating WooCommerce products

#### 2.0.5 – 2024-11-01

 * Fix direct file access

#### 2.0.4 – 2024-08-19

 * Fix running PHP Codesniffer when installing & autoload the plugin’s main file
   via Composer

#### 2.0.3 – 2024-07-22

 * Fix PHP warning in WordPress 6.6

#### 2.0.2 – 2024-07-02

 * Fix not updating WooCommerce products

#### 2.0.1 – 2023-10-14

 * Ensure group value is always an array. Fix PHP warning when group has no values.

#### 2.0.0 – 2023-10-11

 * Complete rewrite the plugin for clarity and maintainability
 * Add support for settings page, allow you to get and update data for settings 
   pages
 * Show errors when updating non-existing fields

#### 1.5.1 – 2023-08-16

 * Fix cannot update user meta in a custom table (#18)

= 1.5.0 – 2023-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 – 2023-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

## Méta

 *  Version **2.0.6**
 *  Dernière mise à jour **il y a 3 mois**
 *  Installations actives **1 000+**
 *  Version de WordPress ** 4.1 ou plus **
 *  Testé jusqu’à **6.9.4**
 *  Version de PHP ** 7.0 ou plus **
 *  Langue
 * [English (US)](https://wordpress.org/plugins/mb-rest-api/)
 * Étiquettes
 * [custom fields](https://fr.wordpress.org/plugins/tags/custom-fields/)[meta box](https://fr.wordpress.org/plugins/tags/meta-box/)
   [rest-api](https://fr.wordpress.org/plugins/tags/rest-api/)
 *  [Vue avancée](https://fr.wordpress.org/plugins/mb-rest-api/advanced/)

## Évaluations

Aucun avis n’a encore été envoyé.

[Your review](https://wordpress.org/support/plugin/mb-rest-api/reviews/#new-post)

[Voir tous les avis](https://wordpress.org/support/plugin/mb-rest-api/reviews/)

## Contributeurs

 *   [ Anh Tran ](https://profiles.wordpress.org/rilwis/)
 *   [ Meta Box ](https://profiles.wordpress.org/metabox/)
 *   [ barcavn2 ](https://profiles.wordpress.org/barcavn2/)

## Support

Quelque chose à dire ? Besoin d’aide ?

 [Voir le forum de support](https://wordpress.org/support/plugin/mb-rest-api/)

## Faire un don

Souhaitez-vous soutenir l’avancement de cette extension ?

 [ Faire un don à cette extension ](https://metabox.io/pricing/)