REST API Featured Image
This plugin will add the featured image src URL field to the WordPress Rest API.
Overview
Compatibility
Installation instructions
Customer support & learning resources
Main benefits
Top-level featured image URL
Direct access to image URL
No additional API requests
Enable/disable for post types
About this plugin
Author: uri
Categories: Integration and APIs
Version: 0.8.3
Last updated: 09-01-2024
WordPress version: 4.7.0
Tested up to: 6.4.5
PHP version required: 5.6
Languages:
Tags:
Overview
The plugin enhances your WordPress site's REST API by adding a top-level field for the featured image source URL, facilitating seamless access to the featured image without requiring additional requests. Designed for simplicity and efficient performance, the plugin allows users to effortlessly retrieve the featured image URL directly through the `featured_media_src_url` field. Additionally, administrators have the flexibility to configure the plugin, enabling or disabling the featured image field for specific post types via the admin section, offering a customizable and streamlined integration experience.
Direct Access to Featured Image URL
- Adds a top-level featured image src field with the featured image src URL.
- Eliminates the need for additional requests to get the featured image.
Integration with WordPress REST API
- Provides a simple way to get the featured image from the WordPress REST API.
- Adds the field 'featured_media_src_url' to the REST API response.
Customizable Post Types
- Allows setting the featured image post type in the admin section.
- Enables or disables the feature for specific post types.
Ease of Use
- Very simple plugin to install and configure.
- Streamlines the process of accessing featured images in WordPress.