Title: Enable features
Last modified: February 22, 2020

---

# Enable features

 *  Resolved [peixoto](https://wordpress.org/support/users/peixoto/)
 * (@peixoto)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/enable-features/)
 * Sorry, but how I enable REST cleanup? Where I supposed to add “add_filter( ‘wp_headless_rest__enable_rest_cleanup’,‘
   __return_true’ );” to enable that feature.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [peixoto](https://wordpress.org/support/users/peixoto/)
 * (@peixoto)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/enable-features/#post-12467898)
 * I get it.
 *  Plugin Author [ben.moody](https://wordpress.org/support/users/benmoody/)
 * (@benmoody)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/enable-features/#post-12636541)
 * Sorry for the late reply, Looks like you figured it out.
 * Add that filter to a project plugin for theme functions.php file

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Enable features’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-rest-headless_c2c2c2.svg)
 * [WP Headless CMS Framework](https://wordpress.org/plugins/wp-rest-headless/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-rest-headless/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-rest-headless/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-rest-headless/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-rest-headless/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-rest-headless/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [ben.moody](https://wordpress.org/support/users/benmoody/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/enable-features/#post-12636541)
 * Status: resolved