While trying to write an options page and leverage persistent, admin-configurable settings for “JP User Registration Blacklist“, I found a maze of conflicting standards and options.
This is my attempt to provide a simple, straightforward, and comprehensive example, with source code that you can copy and implement with your own plugin.