<?php
/*
Plugin Name: Remove Content Filters for REST API
Plugin URI:  https://www.laminarflow.ai/docs/wordpress#wordpress-plugin
Description: Removes all filters from 'the_content' during REST API requests.
Version:     1.0
Author:      Laminar Flow
Author URI:  http://www.laminarflow.ai
License:     GPL2
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

add_action('rest_api_init', function () {
    remove_all_filters('the_content');
});
