i just want to create a custom Table in my WordPress database and i saw many php functions to deal with that my question now is : can i just create them with an sql command and for what do i need to keep an eye on ?

  • If you're not distributing code that requires the database, and are just using it for your own site, there's no reason you can't just create the database table outside of WordPress and access it with code. Commented May 19, 2022 at 14:41

1 Answer 1


Yes, you can. WPDB Class is quite beneficial in manipulating the database.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.