Title: Exclude admin, rest API by coding
Last modified: December 21, 2022

---

# Exclude admin, rest API by coding

 *  [ilansky](https://wordpress.org/support/users/ilansky/)
 * (@ilansky)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/exclude-admin-rest-api-by-coding/)
 * Hello, I’m tring to perform this task:
   Use code (not only settings) to force 
   wp to serve pages (exclude admin, REST API, etc) from cache system no matter 
   which $_GET param is used.Should I change this function right here?
 * [https://plugins.trac.wordpress.org/browser/breeze/tags/2.0.14/inc/class-breeze-query-strings-rules.php#L97](https://plugins.trac.wordpress.org/browser/breeze/tags/2.0.14/inc/class-breeze-query-strings-rules.php#L97)

Viewing 1 replies (of 1 total)

 *  Plugin Author [adeelkhan](https://wordpress.org/support/users/adeelkhan/)
 * (@adeelkhan)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/exclude-admin-rest-api-by-coding/#post-16313486)
 * What do you want to retrieve by this task?
   Once the point is clear, will provide
   better option.

Viewing 1 replies (of 1 total)

The topic ‘Exclude admin, rest API by coding’ is closed to new replies.

 * ![](https://ps.w.org/breeze/assets/icon-256x256.gif?rev=3352595)
 * [Breeze Cache](https://wordpress.org/plugins/breeze/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/breeze/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/breeze/)
 * [Active Topics](https://wordpress.org/support/plugin/breeze/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/breeze/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/breeze/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [adeelkhan](https://wordpress.org/support/users/adeelkhan/)
 * Last activity: [3 years, 3 months ago](https://wordpress.org/support/topic/exclude-admin-rest-api-by-coding/#post-16313486)
 * Status: not resolved