Title: Changing widget_display_callback hook priority.
Last modified: August 22, 2016

---

# Changing widget_display_callback hook priority.

 *  [Bike](https://wordpress.org/support/users/bike/)
 * (@bike)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/changing-widget_display_callback-hook-priority/)
 * Hi, thanks for the useful plugin. It worked before WP 4.0 and stopped working(
   I use refresh interval 0).
 * I got it working again bty changing “widget_display_callback hook priority:” 
   from 50 to 1 (it did not work with 10 nor 20 and before it worked with 50).
 * What does widget_display_callback hook priority actually do and will it create
   any performance issues by having it at “1”?
 * [https://wordpress.org/plugins/q2w3-fixed-widget/](https://wordpress.org/plugins/q2w3-fixed-widget/)

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Max Bond](https://wordpress.org/support/users/max-bond/)
 * (@max-bond)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/changing-widget_display_callback-hook-priority/#post-5393457)
 * > What does widget_display_callback hook priority actually do and will it create
   > any performance issues by having it at “1”?
 * This hook is used to launch the function which determines if the current widgets
   is a fixed widget. The hook priority just saying “do it early” or “do it later”.
   So no performance imacted here!
 * > I got it working again bty changing “widget_display_callback hook priority:”
   > from 50 to 1 (it did not work with 10 nor 20 and before it worked with 50).
 * I suspect that you have other plugins on this hook. So not the core update to
   4.0 coused the problem, but the parallel update of those plugins!.. Just a theory)

Viewing 1 replies (of 1 total)

The topic ‘Changing widget_display_callback hook priority.’ is closed to new replies.

 * ![](https://ps.w.org/q2w3-fixed-widget/assets/icon-256x256.png?rev=2384479)
 * [Fixed Widget and Sticky Elements for WordPress](https://wordpress.org/plugins/q2w3-fixed-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/q2w3-fixed-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/q2w3-fixed-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/q2w3-fixed-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/q2w3-fixed-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/q2w3-fixed-widget/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Max Bond](https://wordpress.org/support/users/max-bond/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/changing-widget_display_callback-hook-priority/#post-5393457)
 * Status: not resolved