Det här tillägget har inte testats med någon av de 3 senaste huvudversionerna av WordPress. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem när det används tillsammans med nyare versioner av WordPress.

REST API Custom Fields

Beskrivning

This plugin enhances WordPress REST API v2 responses about metadata.

Skärmdumpar

  • Settings pane

Installation

  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.

Recensioner

29 oktober 2022
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!
2 maj 2021
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.
27 oktober 2020
Extremely simple to use and effective, just plain plug-and-play style. Thank you very much for the amazing app.
22 december 2019
Hey bro, you created an awesome plugin. Your plugin solved all my issues, thank you so much, my friend.
Läs alla 8 betyg

Bidragsgivare och utvecklare

”REST API Custom Fields” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

Översätt ”REST API Custom Fields” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

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