To query a second database you can use the wpdb object like explained here.
This can be a local or extern database. You don’t need to create a plugin.
Related Posts:
- Issue running db create table query from static method
- Comment “like” problem – “users who like this” avatar linking to current user profile instead of “liker’s” profile
- How to display results from a data table with an encrypted user id?
- plugin doesn’t retrieve data from database
- How to Add an Index to Plugin Database table
- Creating two database tables via plugin
- Customizing subject in comment notification e-mails
- Making plugin unique to not conflict with plugins with the same name
- How to find out if option exists but is empty?
- How to store ACF custom fields data in a custom table
- How to pass JavaScript variable to PHP in wordpress widget?
- Unable to add admin notice on plugin activation
- How To Ignore a Filter On Applying Filter the Content In a Function
- Saving Plugin settings to the database
- Add CSS animation as Preloader to WordPress
- Errors while using ajax from external wordpress page
- shortcode doesn’t work
- Deleting images through upload folder, but not deleting from media library
- WordPress plugin installation
- Create or Update thousands of woocommerce products via PHP
- send_headers don’t work on wordpress multisite
- Default Plugin Settings Not Writing to Database
- Update Option Error: Notice: Undefined index
- Building an email signup form. Where should the information be saved in the DB?
- How to generate video out of images via WordPress plugin
- How to ‘clone’ a wp plugin to make small changes
- Where should I save an API key of my user when installing my plugin?
- Custom form action to handle data inside a plugin
- Self deactivate plugins after an action occurs
- How to periodically scrape and cache strings from remote txt files. – My First Plugin
- WP Post Template – Templates in own folder
- Avoid class name collision when using third party libraries in plugins?
- Is it possible to create Custom Post plug-in?
- Using a custom plugin to capture input data via Ajax and PHP
- Image upload and download from front-end
- How to output CMB2 select options from repeated groups select elements?
- Ajax call returning 0
- How to deal with WordPress and Pocket API to automate content curation on my hosted wordpress blog? [closed]
- WP All Import – Execute Imports
- Conditional attributes and logic per product category
- How can I change the meta_key for a particular piece of information?
- WordPress get_avatar function not correct working
- Can I create a table on my DB without creating a plugin?
- Creating a CSV with PHP inside the plugin directory
- Check if variable is set in filter
- Include a php file from another plugin
- Add User Role: Pre-saved in User-Meta [SOLVED]
- Creating a functionality plugin to edit seriously simple podcasting
- How WordPress core manage the plugin installation
- Asynchronous request in wordpress
- Make plugin php file called directly aware of WordPress?
- Next Previous Post in wordpress with previous / next link with title?
- Apply html elements in php statement
- WordPress Post HTML after Posting
- How to make a Product page without ordering and database
- can’t unzip file
- i need to make custom cron_schedule with custom interval time as a parameter into a custom payment gateway plugin wordpress
- How to create admin setting for this small plugin
- Allow a particular user to access a particular plugin?
- Cookie value changes back to previous value after changing
- Change plugin descriptions
- The Build menu theme is frozen with the wordpress theme
- Problem with checked box on wp car manager plugin
- How can I translate something in my class constructor of my plugin in WordPress?
- I want to schedule email (date, time is in database->table) wp_schedule_event() not working
- Define global variable in theme file and call that variable in plugin file
- How to use WordPress header function and footer function and not load word press database
- How to securely controlling data without keeping it in postmeta?
- How to translate to spanish wordpress hardcoded content/files?
- $wpdb->insert not working inside save_post tag
- update_post_meta is not working for me when I use e.preventDefault for update button
- SimpleXML is not working with xml response from external api
- How to use Datatable with Ajax when creating plugin on WordPress?
- Multiple image selection custom widget
- Showing how many times is plugin activated or deactivated
- Woocommerce list variations that are added already to cart in Single Product
- WordPress Admin sub-level menu issue
- Plugin communication between sites that use it?
- Passing ajax variable to more than one wordpress plugin function
- Form tries to download a file on submit
- Populate select option with JSON file
- insert multiple entries in database using a loop issue
- Displaying friend’s posts only
- Theme editor removes backslashes
- Plugin Hook: Get posts
- How to get site homepage from plugin?
- Undefined variable _POST
- How to submit the custom form data in database in WordPress without plugin?
- How use Dynamic hyperlink on each wordpress post?
- Unable to show 4 products in a row
- What can I do to customize a widget provided with this plugin? from where have I to start?
- On the same site, how do I send data from a plugin file to a theme file?
- How to add custom html to the Media > Attachment Details modal?
- Function not being called on form submit, only blank admin-post.php page
- How can I save the selected page in the dropdown after anyone clicks on Save Changes?
- How to override plugin function in code snippets WordPress
- How to create a “Most Popular” & “Latest” TAB in WordPress
- WordPress Throwing Deprecated Errors on its own Files
- Use inline callable for hooks and filters
- Error in using ‘admin_enqueue_scripts’ action through a class