Title: wp_mail filter priority
Last modified: August 30, 2016

---

# wp_mail filter priority

 *  Resolved [theromb](https://wordpress.org/support/users/theromb/)
 * (@theromb)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/wp_mail-filter-priority/)
 * WP Mail Logging wp_mail filter is setup with default 10 priority. Please use 
   some big priority, like 10000 because if plugin with priority lover than 10 updates
   email, this data will be lost.
 * [https://wordpress.org/plugins/wp-mail-logging/](https://wordpress.org/plugins/wp-mail-logging/)

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

 *  [No3x](https://wordpress.org/support/users/no3x/)
 * (@no3x)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/wp_mail-filter-priority/#post-6596437)
 * Makes much sense. I did not have this case yet. Do you run into such a priority
   problem? If yes with which plugin?
    Do you want to beta test the current version?
 *  Thread Starter [theromb](https://wordpress.org/support/users/theromb/)
 * (@theromb)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/wp_mail-filter-priority/#post-6596450)
 * Yes which “CC Admin Emails” plugin. WP Mail Logging do not logs additional CC
   headers added by this one.
 *  Thread Starter [theromb](https://wordpress.org/support/users/theromb/)
 * (@theromb)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/wp_mail-filter-priority/#post-6596453)
 * Also about beta test, I already hardcoded 10000 priority myself, only want to
   share this, so this can be fixed in upstream.
 *  [No3x](https://wordpress.org/support/users/no3x/)
 * (@no3x)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/wp_mail-filter-priority/#post-6596456)
 * You are totally right. It’s embarrassing I did not think about that.
 * > functions with the same priority are executed in the order in which they were
   > added to the filter.
 *  – It’s kinda strange there were no big issues yet if you ask me.
    Maybe my plugin
   is executed at the end because of alphabetical order ‘w’ – But I’m not sure if
   plugins are executed in alphabetical order.
 * Thank you!
    (I’m still looking for beta tester for my new plugin version that
   is not pushed to the plugin repository yet.)
 *  Thread Starter [theromb](https://wordpress.org/support/users/theromb/)
 * (@theromb)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/wp_mail-filter-priority/#post-6596458)
 * You’re welcome 🙂 And thank you for your great plugin.
 *  Thread Starter [theromb](https://wordpress.org/support/users/theromb/)
 * (@theromb)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/wp_mail-filter-priority/#post-6596461)
 * Yes, I will appreciate to test new versions in my dev env 🙂
    Also I have enother
   suggestion on different part of plugin. Should I open new request, or I can post
   it here?
 *  [No3x](https://wordpress.org/support/users/no3x/)
 * (@no3x)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/wp_mail-filter-priority/#post-6596465)
 * I created an [issue](https://github.com/No3x/wp-mail-logging/issues/32) and will
   mark this as resolved here.
    You can head over to the [GitHub](https://github.com/No3x/wp-mail-logging/issues)
   issues. I track everything there anyway. But if you don’t have an account you
   can post it here in the forums in a new thread.
 *  [No3x](https://wordpress.org/support/users/no3x/)
 * (@no3x)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/wp_mail-filter-priority/#post-6596466)
 * see post above

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

The topic ‘wp_mail filter priority’ is closed to new replies.

 * ![](https://ps.w.org/wp-mail-logging/assets/icon-256x256.jpg?rev=2562296)
 * [WP Mail Logging](https://wordpress.org/plugins/wp-mail-logging/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-mail-logging/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-mail-logging/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-mail-logging/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-mail-logging/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-mail-logging/reviews/)

 * 8 replies
 * 2 participants
 * Last reply from: [No3x](https://wordpress.org/support/users/no3x/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/wp_mail-filter-priority/#post-6596466)
 * Status: resolved