Title: [Plugin: NoSpamNX] use a static function
Last modified: August 20, 2016

---

# [Plugin: NoSpamNX] use a static function

 *  Resolved [Tom Braider](https://wordpress.org/support/users/tom-braider/)
 * (@tom-braider)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-nospamnx-use-a-static-function/)
 * Hi Sven,
 * please use a static function call for the uninstall_hook like:
    register_uninstall_hook(
   __FILE__, array(‘NoSpamNX’, ‘uninstall’)); and a “static” on the function definition.
   this will delete 3 error messages from WordPress. 😉
 * [http://wordpress.org/extend/plugins/nospamnx/](http://wordpress.org/extend/plugins/nospamnx/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [foobar2022](https://wordpress.org/support/users/kubi23/)
 * (@kubi23)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-nospamnx-use-a-static-function/#post-2578185)
 * Just released a new Version.

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: NoSpamNX] use a static function’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/nospamnx_f6f7f7.svg)
 * [NoSpamNX](https://wordpress.org/plugins/nospamnx/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nospamnx/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nospamnx/)
 * [Active Topics](https://wordpress.org/support/plugin/nospamnx/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nospamnx/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nospamnx/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [foobar2022](https://wordpress.org/support/users/kubi23/)
 * Last activity: [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-nospamnx-use-a-static-function/#post-2578185)
 * Status: resolved