It is OK. And you can access this table with standard way, throught wpdb
To insert data to your table use this code:
global $wpdb;
$wpdb->insert(
'exampleTable',
array(
'column1' => 'value1',
'column2' => 123
),
array(
'%s',
'%d'
)
);
To breafly explain what this code mean. WordPress sanitizes values before inserting them into database (to prevent database being compromited by SQL injection.). First line defines table to inser value. Secon array contains col names and value being inserted. The third array contains type of value to insers. %s stands for string, %d stands for int (digit).
You can read more about $wpdb->prepare in the codex. It is well explained in there.
Related Posts:
- Backup the Database and Restore from the Backup?
- Can I use $wpdb for my custom tables in the WordPress database?
- What Is The Difference Between suppress_errors() And hide_errors() in $wpdb?
- Prevent WordPress from loading comments
- Suggestions for WPMU Migration (advanced)
- Retrieve and display data from custom db table in admin area?
- How to find if a post with custom_field == X exists?
- Custom search page and search by title, content and tag
- What’s the proper way to use a custom table? [closed]
- How to retrieve the value stored in a multi-dimensional array and SUM the entries?
- Adding a Table to the wordpress database
- Creating user relationships
- WP Northwind for Theme Development?
- Fastest way to get the comment and ping total count for a post
- $wpdb->replace: WHERE?
- How to use default WP form elements to interact with custom DB table?
- Your thoughts on the interaction with one custom database table from WP?
- Applying WP-cli Search & Replace to Static SQL Dump File
- Setup database structure with books, authors, languages etc. for publishing house [closed]
- Add table to WordPress database
- Custom Database Table and foreach
- optimal taxonomy or custom post types
- What is my error trying to create a new table in the database?
- Migrating my site to a new domain does not keep any changes made in customizer
- New Page/Post Screen Opens an Existing Post
- Advice on how to structure a custom plugin
- How to have differents sites share the same tables of DB?
- Custom Form Input not saving to Database
- Accountless password generation
- Add several fields from different tables to post, fields per post are in same row of table
- Where should I put this custom data?
- Show WP content on different PHP Sites
- Database custom table issues – incorrect result displayed
- Changing starting number of User ID
- Advice how to connect custom database with WordPress, change data in WordPress and finaly use this data
- Changes to code not displaying
- Where are Additional CSS files stored
- What Is The Use Of map_meta_cap Filter?
- Localization: I want the backend: english and frontend in defined language
- Need logged in users returing to site redirected to a separate page
- Widgets vs. Theme Mods
- Adding an email column to a Custom Post Types Admin Screen?
- Allow Users to Set Password During Registration
- Print shortcode in custom action hook not where the shortcode is entered
- simple expandable vertical menu, java script problem
- Why does WordPress 3.0.4 keep deleting the contents of the .htaccess file?
- Best way to integrate an existing PHP application into WordPress
- Hide upload image fields for the different media upload popups
- Creating Search Engine Friendly URL’s with Word Press
- Add Div to Comment Form
- Extend Screen Options
- How to add “Read More…” link in twentytwenty
- Understrap child theme JS not working in custom-javascript.js file
- Adding code to child’s theme css and php cannot override certain elements
- Login/Logout Session Sharing – Multiple WordPress Installations
- Changing settings of WooCommerce
- How can I stop access of unregistered user in wp-content/uploads directory without using .htaccess file?
- Plugin: database creation
- Page content dissapears after loading the page [closed]
- wp_customize set_transient except during preview
- How do you add a table to a site?
- Is there a possiblity to replace profile image gravatar with custom user images
- WooCommerce custom billing fields on email address
- Is there a straight-forward way to provide a meta description tag via Yoast SEO, programmatically, without relying on the admin panel?
- Restrict content access to logged in users
- Make tag archive display post are ordered by post format
- Custom Form not generating URL
- How to move meta information in TwentyTwelve’s single post template?
- User Custom Dashboard
- Exclude current post but keep the same posts-per_page amount
- WordPress Command Question
- getting a 404 page for all pages except home. possibly permalinks
- How do I create a Custom Post Box that Connects Different Posts Together
- Pull Latest Forum Posts within WordPress
- saving the widgets position after drag and drop
- Google calendar in wordpress showing events
- Custom menu not showing even though it shows as being registered?
- Open login logo URL in new tab
- Multisite with subdirectories, and a WordPress installation in a custom folder
- Display all subterms of a custom taxonomy filtered by parent terms
- Delete a column in edit.php generated with a plugin
- Adding shortcode to product short description
- Display Custom Taxonomy Name As A Shortcode
- how to add custom html and css to wordpress
- How to use the same custom page template to iframe multiple urls with entry of new url entered from backend
- How to fix custom add menu page preventing media library from loading
- Unhook a function within a class in the child theme
- Where to put coding a validation script for store? [duplicate]
- Change the template of my Blog entries
- User WordPress menu in custom page
- How to define active widget with js in a customizer
- Custom display for homepage, tag and author pages
- Class .current-menu-item in custom menu Walker
- Custom folder structure and problem with 3rd party services
- Pagination is not working on custom query
- Issue with WordPress native theme customizer function and jquery ui tabs
- WordPress uploads directory. Featured Images storage
- WooCommerce customise checkout billing form [closed]
- Is there a way to have information on one page automatically feed into another? [closed]
- Upgrade to 3.1.1 Fails