Title: PHP Hook to disable functionality?
Last modified: March 9, 2020

---

# PHP Hook to disable functionality?

 *  Resolved [Erik Molenaar](https://wordpress.org/support/users/erikmolenaar/)
 * (@erikmolenaar)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/php-hook-to-disable-functionality/)
 * Hi,
 * Does this plugin provide a PHP hook so I can disable resizing/recompressing on
   certain conditions (e.g. for admins).
 * Looking forward to your reply. Thanks for this awesome plugin!
 * Kind regards
    Erik

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

 *  Plugin Support [Gerard Blanco](https://wordpress.org/support/users/sixaxis/)
 * (@sixaxis)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/php-hook-to-disable-functionality/#post-12526647)
 * Hi Erik,
 * Unfortunately we don’t have this functionality.
 * Have a good day!
 *  Thread Starter [Erik Molenaar](https://wordpress.org/support/users/erikmolenaar/)
 * (@erikmolenaar)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/php-hook-to-disable-functionality/#post-12526723)
 * Hi [@sixaxis](https://wordpress.org/support/users/sixaxis/)
 * Thanks for your reply.
 * Is it possible to sponsor your development a bit so you can integrate this filter
   in your plugin?
 * Looking forward to your reply. Thanks.
 *  Plugin Support [Gerard Blanco](https://wordpress.org/support/users/sixaxis/)
 * (@sixaxis)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/php-hook-to-disable-functionality/#post-12531554)
 * Hi Erik,
 * Can you please contact us [here ](https://shortpixel.com/contact)and let us know
   exactly what you are trying to achieve? What we know is that you need to disable
   something for some users, so we need a further clarification 🙂
 * Thank you!

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

The topic ‘PHP Hook to disable functionality?’ is closed to new replies.

 * ![](https://ps.w.org/resize-image-after-upload/assets/icon-256x256.png?rev=1940740)
 * [Resize Image After Upload](https://wordpress.org/plugins/resize-image-after-upload/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/resize-image-after-upload/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/resize-image-after-upload/)
 * [Active Topics](https://wordpress.org/support/plugin/resize-image-after-upload/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/resize-image-after-upload/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/resize-image-after-upload/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Gerard Blanco](https://wordpress.org/support/users/sixaxis/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/php-hook-to-disable-functionality/#post-12531554)
 * Status: resolved