I need to create a table for my plugin.
I found two methods to create a table:
- dbDelta: as used in the Creating Tables with Plugins page on the codex
- maybe_create_table($table_name, $create_ddl): as found in /admin/install-helper.php and used in many plugins
Is one of these methods better than the other? If so, why?
Thanks in advance. :)