How to create or add new tables using wordpress theme

With custom professional theme you need to add the custom table in wordpress database, Using this code you can, add new tables using wordpress theme

add new tables using wordpress theme

If you want to add one more table to wordpress database you need to just use the following code.

Open the functions.php file and copy paste the code.

Solution code is Hidden! It's Visible for Users who Liked/Shared This article on Facebook or Twitter or Google+. Like or Tweet this article to reveal the content.
register_activation_hook(__FILE__,'YOUR_FUNCTION_NAME');
add new tables using wordpress theme

add new tables using wordpress theme

One Comment

Add a Comment

Your email address will not be published. Required fields are marked *