Title: Debugging the plugin:  Query Hook?
Last modified: August 22, 2016

---

# Debugging the plugin: Query Hook?

 *  Resolved [wn nj](https://wordpress.org/support/users/waseemnaikgmailcom/)
 * (@waseemnaikgmailcom)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/debugging-the-plugin-query-hook/)
 * I am running into conflict with another plugin that wants to perform median action
   when posting.
 * What query hook am I looking for during the publish / update of the post? I have
   installed the Query Monitor plugin to help me isolate the issues.
 * Thanks
 * [https://wordpress.org/plugins/auto-featured-image-from-title/](https://wordpress.org/plugins/auto-featured-image-from-title/)

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

 *  Plugin Author [Chris Huff](https://wordpress.org/support/users/brochris/)
 * (@brochris)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/debugging-the-plugin-query-hook/#post-5815039)
 * My plugin runs upon the “save_post” hook. This hook is fired every time a post
   or page is created or updated.
 *  Thread Starter [wn nj](https://wordpress.org/support/users/waseemnaikgmailcom/)
 * (@waseemnaikgmailcom)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/debugging-the-plugin-query-hook/#post-5815057)
 * Is this creation / update only happening when user is in the post itself?
 * Because it is not happening under bulk edit or if a rss feed is creating a post?
 * TIA
 *  Plugin Author [Chris Huff](https://wordpress.org/support/users/brochris/)
 * (@brochris)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/debugging-the-plugin-query-hook/#post-5815123)
 * I’m not sure, but I think that’s the case. I might be able to attach it to more
   hooks so that posts updated via bulk edit and creation from rss feeds will also
   create featured images. I’ll have to check into that.
 *  Thread Starter [wn nj](https://wordpress.org/support/users/waseemnaikgmailcom/)
 * (@waseemnaikgmailcom)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/debugging-the-plugin-query-hook/#post-5815133)
 * I will be happy to setup a test site for you.
 * I do not know php or wp; but I think I am running into issues with priority on
   post save. The way I see it, your hook should be the last one for me to process
   because, it is absence of all other options.
 *  Plugin Author [Chris Huff](https://wordpress.org/support/users/brochris/)
 * (@brochris)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/debugging-the-plugin-query-hook/#post-5815184)
 * Yes, contact me via my website and give me log in details for a test site if 
   you like. I probably won’t get a chance to look at it until Monday, but I’ll 
   take a peak to see if I can find the conflict. [http://designsbychris.com/contact-me/](http://designsbychris.com/contact-me/)

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

 The topic ‘Debugging the plugin: Query Hook?’ is closed to new replies.

 * ![](https://ps.w.org/auto-featured-image-from-title/assets/icon-256x256.png?rev
   =1230724)
 * [Auto Featured Image from Title](https://wordpress.org/plugins/auto-featured-image-from-title/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/auto-featured-image-from-title/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/auto-featured-image-from-title/)
 * [Active Topics](https://wordpress.org/support/plugin/auto-featured-image-from-title/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/auto-featured-image-from-title/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/auto-featured-image-from-title/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Chris Huff](https://wordpress.org/support/users/brochris/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/debugging-the-plugin-query-hook/#post-5815184)
 * Status: resolved