Not sure the best way to save custom plugin data

Not that there is specialized API for something exactly like that.

  1. Create your table, see Creating Tables with Plugins in Codex.

  2. Process submitted form (since you are not using higher APIs, don’t forget to check for capabilities, use nonces and such).

  3. Write data to your custom table, using $wpdb.

Leave a Comment