It’s unusual to include/require files based on database values, but if that’s what’s happening — one way to track it down would be to export the DB from production to an SQL file (which maybe you already have), then search through it with a text editor. You should then be able to look at the INSERT statement (I think it is) and see what table it is being added to.
If I may suggest — rather than exclude tables, you may want to run a command after import to the local site that searches and replaces the old string in all the tables. At a previous employer, we used Search Replace DB to get the job done. It took a while, but worked very well.
Related Posts:
- How do I export my WordPress blog as a book? [closed]
- Plugin API for easy admin list table generation, handling & exporting of MySQL tables?
- Is it possible to export WordPress from command line?
- Export all posts as individual plain txt files
- Export specific menu [duplicate]
- Import posts with featured images
- How to Create Export/Import Functionality for Plugin
- Most Flawless Way To Transfer from Dev to Prod [duplicate]
- Problem: Create a cron job to export posts to a WordPress XML file on server
- How do I add paragraph tags to all of my posts after relying on wpauto?
- export csv functionality into my plugin
- Best practice to import/export specific pages and posts
- Export posts to csv with data from ACF custom fields
- Export a blog(not mine) as a PDF document
- export category and sub-category
- I am having trouble with article formatting when exporting/importing articles from the production to the development environments
- Export local WP install to live – help needed
- Moving wordpress site to subpage of another site
- 403 export error when exporting pages from multisite subfolder site
- Export Custom Report as CSV
- UTF8 Encoding problems when exporting posts
- How to give my database to a friend for duplication in a secure way [closed]
- How to assign name the WordPress export.xml file
- How can transfer get so large when exporting data (15-16MB to over 10GB)
- Export All Posts and Media to XML and/or Word
- Button to download export data WordPress in CSV file
- How to add a timestamp to the exported WXR filename?
- ExpressionEngine Export/Import Issues
- Get all post from table and put it in excel sheet
- How can I export Grunion Contact Form messages in an easily parsable format, e.g. CSV?
- Different way to export data from WP?
- How to export posts and keep html tags in the title
- Does doing an export moves all my posts or just a copy of it?
- wordpress export pretty permalinks and post excerpt export
- Export Pervasive to MySQL (C#)
- How to properly export an ES6 class in Node 4?
- Remove Project from Android Studio
- Where does the Media Library live in the database?
- How do I make an HTML table from a database table?
- How do I create links at the top of WP_List_table?
- WP_User_Query and non-unique usermeta data
- How To Remove These Stuffs From Custom Post Type List Screen?
- How to implement WP_List_Table? WP_List_Table giving array instead of a value in listing table
- Custom WP_List_Table displays blank rows
- List Table API – Safe to use?
- WordPress Export Import Site Navigation Menu
- How to add an export function to a custom Option Theme Page
- TCPDF get_post_meta outside the loop
- Migrate WooCommerce Orders [closed]
- How do i export the HTML from text widgets?
- Export posts manually selected by end user (not logged in)
- Exporting and importing my WordPress database, but none of the plugin settings are importing
- How much of my site can I recover from public_html?
- How to display additional info in the plugins admin table?
- Are there any scripts, classes, and/or functions built-in to WP for a plugin to export/import its saved data from wp_options?
- WooCommerce product taxonomies and menu export
- Get ALL post ID’s export list (Only id’s. Php or sql not important )
- Transfer only original images to new site
- How to export post meta with images in wordpress
- How to add custom classes to admin list table default rows or columns?
- Customize WP_List_Table inside admin panel
- `bulk_edit_custom_box` mess the input fields
- How to store options in an array
- How to export all content with feature images?
- Buddypress export Profile Fields [closed]
- Retrieve only posts from a specific user in wp-admin/edit.php
- Export a custom Mysql database product catalog to WordPress
- Programatically inserted posts not showing in Posts Table
- Not able to export large no. of posts in csv
- Is there an easy way of exporting posts with their category already asigned and pictures from localhost?
- sortable columns for multiple custom post types not working
- How to export custom post type with ACF to individual file with automation?
- Get categories list with category name in custom WP_List_Table class
- Get user ID when action row link is clicked
- Export WordPress from one domain to another domain
- Editing Theme and Moving Servers
- How do I export the headlines of all the blog posts in a single category?
- Exporting a form to a CSV file does not work in WordPress but it does in PHP
- WP_List_Table Inside Metabox With Bulk Actions Not Working on Submit
- Clone wp-admin/users.php (Users Admin Page)
- WP List Table custom column wrapping issue
- Syncing WP Database Changes Between Environments: How To Handle Merging w/o touching database
- Can’t Export Custom Post Types With Export Tool In A Custom Theme
- Is there a way to export WordPress comments to a non-wordpress, HTML coded site?
- WP_List_Table Inside Metabox Not Working on Clicking Search Button
- Display Form in Admin Panel and Save data to Database
- Export wordpress image ID based off keyword search
- Only a small portion of my export page renders
- How to add custom field to wp_list_table
- WP_list_table prepare_items()
- Migrate site from WordPress multisite to another WordPress multisite
- Export to WXR for pages containing script and iframe tags
- Using WP_List_Table and search_box(): How to Paginate the Found Search Results When Sending by Method «Post»?
- Exporting a portfolio with pictures
- Display_rows() and column_cb() strange behaviour
- Create Table Failed Column Date DateType
- Blogroll import/export with categories and descriptions
- Export whole wordpress blog to PDF or similar including images [duplicate]
- WP Recommended Table Exclusions?
- Form with response button after on table after submission