WP Manifestindependent plugin directory
manifest / integrations / wp-bridge

Bridge

Extra WordPress REST API Endpoints and Functionalities

by Dzikri Aziz · github.com/kucrut/wp-bridge · website

7stars
268composer installs
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/kucrut/wp-bridge/archive/refs/heads/main.zip

Also on Packagist as kucrut/bridge:

composer require kucrut/bridge

From the readme

Bridge This plugin was built to provide a bridge between WordPress and Minnie. It modifies the results of some WP API requests. Requirements WordPress 4.5 WP API 2.0-beta13 More bridges: Menus Post Formats Endpoints Info Endpoint: /wp-json/bridge/v1/info Results Modifications To get a modified result, a "Client ID" must be registered first: Then, every API request must include an X-Requested-With header and the value set to the registered Client ID, in this case minnie. Terms Home URL is stripped from term links. Original Result Modified Result Posts The result of requests to posts endpoints will have these modifications: Home URL is stripped from link, content.rendered. title gets a new item: fromcontent. It's generated from post content and is useful in case the post doesn't have a title and you still want to display a generated title on the client app. dateformatted and modifiedformatted are added, so you don't need to format the post dates in the client app. The value of categories, tags and formats is converted to WPTerm objects. When post preview is requested (by setting the preview parameter to 1), the title and content will be replaced with the ones from

Read the full README on GitHub →

Releases

TagPublished
v0.9.0 Feb 25, 2021

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.