dbDelta vs maybe_create_table()
-
Hello all,
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. 🙂
Brent
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘dbDelta vs maybe_create_table()’ is closed to new replies.