Seems to me you are just executing one query: dbDelta($sql);
.
Have you tried adding dbDelta($sql_sms_table);
?
Related Posts:
- Loading external page template and enqueue script from plugin causes 403 forbidden error
- Where the Nickname is being used in WordPress
- WordPress plugin from own server
- How to avoid plugin name conflicts from the upgrade notifier?
- Is their any way to Extend WPDB class and Overwrite the Default Query Function
- Add content to /wp-admin/plugin-install.php admin screens
- Using standard backend elements in Plugin
- Where should my plugin POST to?
- How to list the Hooks and order of execution in current loading page? [duplicate]
- How to make my plugin theme-independent?
- Updating post meta for custom post types
- How do I use WordPress PHP functions in my Javascript code?
- Get all options saved by another plugin
- How to bulk send emails
- How to handle the Plugin Version on Update using Tortoise SVN and the worpdress.org Plugin Repository?
- Custom Shipping method not showing in checkout
- REST-API: extend media-endpoint
- How to get the permalink of a page when loading my plugin
- Ajax gives 400 error
- The Point of Using apply_filters()
- Where does WordPress register default scripts like jQuery?
- Is it possible to enqueue CSS files from plugin before theme’s CSS files?
- WordPress Plugin Page is Loading in Admin Content Container Instead of Separate Page
- Serialize data for wp options
- Determine Registered Admin Menus
- Is Wrapping intval() Around esc_attr() Redundant for Escaping Input?
- React JSX in WordPress Plugin Development
- My plugin wants to update another plugin
- Plugin Options Not Saving to Database in WP 4.5
- Using SVN to upload plugin created with gutenberg blocks
- Force quit running background job
- Custom plugin init action causing general slowness
- Check if plugin exists/active “class_exists()” does not work on plugin territory
- How to get the permanent link in a plugin?
- Duplicate results are displayed in a custom plugin [closed]
- Why is the ‘Gutenberg’ Plugin generating an ‘Inconsistent File Permissions’ error when other Plugins, with the same permissions, do not?
- WordPress front end AJAX. Return 0 :?
- breadcrumb need to show all pages and subpages
- Widget’s container?
- custom uploader in the admin area
- Best/Correct way to add an option to a category
- WordPress 5.4 – How to prevent to enter only certain values in custom field
- I receive taxonomy id
- Loop in elementor custom widget not working
- DB Query not working in Plugin
- Error with get_price (and others) in self-written plugin to show price
- sending different email notification while registration based on user role
- How to access OOP plugin function inside themes or other plugin
- WordPress Widget Not Saving Instance
- Issue with wp_handle_upload
- How to get a notification when the plugin is installed?
- Different registration form for different roles
- WordPress Post HTML after Posting
- How to append new form elements in “Add New” form of Users in WordPress admin panel?
- Settings options not showing up on Sub Menu page in WordPress plugin
- My plugin does not install correctly if a previous version is still installed
- How do I remove all traces of a plugin?
- unregister a sidebar widget
- Is it possible/advisable to set last stable version to previous version?
- Custom Meta box change size
- Could add_query_arg() redirect user to external site?
- How to solve conflict with scripts?
- wp_insert_post not inserting post from XML
- How can replace this url
- The Build menu theme is frozen with the wordpress theme
- Access “wp site health info” data from plugin
- WordPress Frontend Page using Plugin
- How to overwrite a plugin?
- SimpleXML is not working with xml response from external api
- How to prevent redoing get_posts queries and make results available to other scripts?
- Prefix WordPress Taxonomy Tags With Hashtag Symbol Like Twitter
- Change Woo Custom Endpoint Titles from a Plugin
- Custom wp_list_tables redirect on specfic page
- Hook to display element as product on category page
- Missing files in enqueue actions causes WordPress to reload
- I can’t use WP_Query
- Adding/ Removing actions for plugins
- Get input form data posted by users
- WP Plugin: Print javascript in header
- wp_verify_nonce fails always
- Custom Plugin: Point to `template_directory`
- Adding list of Indexes in wordpress document
- WP internationalization not loaded
- Plugin options not appearing on options page using tabbed navigation
- Adding custom cron_schedule prior to wp_schedule_event
- Create plugin with form in post and submit it to specific form
- Storing values in Post Meta vs new tables
- Widget redirecting to home page
- Capturing POST data
- Add custom fields in the new and edit the site forms without touching the WP core
- Extend WordPress REST API with Scheme Pro Plugin
- How to submit the custom form data in database in WordPress without plugin?
- map urls to plugins
- Embed php code in custom field of a plugin [closed]
- Why haven’t I see plugins using get_file_data to handle retrieving plugin version?
- How can I properly sanitize the update_option in WordPress?
- Why is my menu page not being displayed?
- WP Elementor Pro causing crtical failure on website
- Function not being called on form submit, only blank admin-post.php page
- How to give specific class name to category in wordpress with code snippets