How to create a WordPress options page
The first thing that jumps out at me is your use of register_setting(): register_setting( ‘bang-options-group’, ‘joinform_api_url’ ); It is missing a critical, third argument: the sanitization callback. While this parameter programmatically is optional, without it, you cannot validate/sanitize/whitelist the data values passed to the DB via your settings form. Looking further at your code, you … Read more