Skip to content

Custom database tables

If necessary, custom tables can be added to a VIP Platform environment’s database.

When adding a custom database table, use caution and follow best practices:

  • To prevent unexpected issues, all tables should begin with the $wpdb->prefix table prefix.
  • Use dbDelta as part of an upgrade routine to add/update the table.
  • Do a thorough analysis of the schema and indexes and validate against the queries being run to ensure they match up.
  • Add caching to queries where it makes sense.

Last updated: December 29, 2025

Relevant to

  • WordPress