manifest / integrations / acf-rest-filter
Advanced Custom Fields REST API Filter
ACF rest api filter is a plugin to adds ACF fields to the rest api and enables filtering via query parameters.
by Othmane N. · github.com/iietmoon/acf-rest-filter · website
★ 2stars
10release downloads
0forks
Install
The author publishes release zips, so WP-CLI can install straight from GitHub:
wp plugin install https://github.com/iietmoon/acf-rest-filter/releases/download/v1.2.0/acf-rest-filter-1.2.0.zipFrom the readme
Advanced Custom Fields REST API Filter
Description
Advanced Custom Fields REST API Filter is a WordPress plugin that extends the REST API by:
✅ Adding all ACF fields to REST API responses.
✅ Enabling filtering by any ACF field dynamically via query parameters.
Features
- Automatically includes ACF fields in REST API responses.
- Allows filtering posts by any ACF field using query parameters.
- Supports multiple filters at once.
- Open-source and lightweight.
Installation
1. Download the plugin as a .zip file or clone the repository.
2. Upload the folder to wp-content/plugins/acf-rest-filter/.
3. Activate the plugin from the WordPress admin panel.
Usage
1. Get Posts with ACF Fields
Make a GET request to:
This will return all posts with an acf object containing the ACF fields.
2. Filter by a Single ACF Field
Filters posts where the ACF field featured is true (1).
3. Filter by Multiple ACF Fields
Filters posts where category = design and status = active.
License
This plugin is open-source and licensed under the MIT License.
Author
Developed with ❤️ by Othmane N.
Read the full README on GitHub →