Title: Init action handler priority
Last modified: July 15, 2019

---

# Init action handler priority

 *  [2FAS](https://wordpress.org/support/users/2fas/)
 * (@2fas)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/init-action-handler-priority/)
 * Our client reported that our plugin is not compatible with Cerber Security, Antispam&
   Malware Scan. We looked for the reason of that and we found out that you set 
   priority 0 when hooking to `init` action in the `cerber-load.php` and we left
   priority 10 in our plugin so our code is not being called. We are curious why
   the priority is 0 in Cerber?

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

 *  Plugin Author [gioni](https://wordpress.org/support/users/gioni/)
 * (@gioni)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/init-action-handler-priority/#post-11733744)
 * Please tell me what feature is affected? Add the following line to the wp-config.
   php file. This should help.
 * define(‘CERBER_OLD_LP’,10);
 *  Thread Starter [2FAS](https://wordpress.org/support/users/2fas/)
 * (@2fas)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/init-action-handler-priority/#post-11735496)
 * Our scripts and styles are not loaded because Cerber terminates the script when
   displaying login page.
 * Your advice helps but the problem is that all of our users who use also Cerber
   should add this line in theirs `wp-config.php` files. We should rather do some
   compatibility fix in our plugin’s code which cause our and your plugins work 
   properly when installed together.
 * Do you think that setting `init` action handler priority to `-1` is a good solution?

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

The topic ‘Init action handler priority’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-cerber_77a9bf.svg)
 * [WP Cerber Security, Anti-spam & Malware Scan](https://wordpress.org/plugins/wp-cerber/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-cerber/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-cerber/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-cerber/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-cerber/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-cerber/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [2FAS](https://wordpress.org/support/users/2fas/)
 * Last activity: [6 years, 10 months ago](https://wordpress.org/support/topic/init-action-handler-priority/#post-11735496)
 * Status: not resolved