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
- How to export native WordPress events in a form useful to Events Calendar
- How to export custom post type posts based on date range
- Export Pervasive to MySQL (C#)
- How do I export whole Unity project with all scenes?
- Import / Export database with SQL Server Server Management Studio
- Why Is `Export Default Const` invalid?
- How can I export data to an Excel file
- How to properly export an ES6 class in Node 4?
- Do a “git export” (like “svn export”)?
- -bash: export: `=’: not a valid identifier
- Remove Project from Android Studio
- mysqlworkbench giving version error on exporting database
- How to export JavaScript array info to csv (on client side)?
- Where does the Media Library live in the database?
- Change order of custom columns for edit panels
- Failed to import Media
- Custom columns for taxonomy list table
- How to export and import taxonomies (category, tag and/or custom taxonomy) and their terms
- How to Change Order of Posts in Admin?
- How do I make an HTML table from a database table?
- How to export comments in WordPress?
- How are bulk actions handled in custom list table classes?
- How to create Custom filter options in wp_list_table?
- How do I create links at the top of WP_List_table?
- How do I add a WP_List_Table to WordPress page?
- I want to develop locally with Multisite, then migrate each site to separate remote WP installs
- WP_User_Query and non-unique usermeta data
- How To Export/Import WordPress (MySQL) Database Properly Via Command-Line?
- Is it possible to “freeze” a WordPress blog?
- How To Remove These Stuffs From Custom Post Type List Screen?
- Custom Table Column Sortable by Taxonomy Query
- wp_list_tables bulk actions
- add_action ‘manage_posts_custom_column’ in a class [closed]
- Sort custom post type list table by display name of a user id stored as post meta value
- Why does my custom taxonomy show a total count across all post types
- How-to implement admin Ajax inside an admin WP_List_Table?
- WP List Table custom quick edit box – post meta data missing and columns change on submit
- Fatal error after 4.4 upgrade class-wp-list-table
- How to remove _wp_http_referer from URL when using WP_List_table?
- List table not rendering when $this->items is filled
- Add content in custom post type page after the title and before columns
- WordPress Theme Options Import/Export
- Export navigation menu
- One Click demo content installation feature in WordPress theme options panel
- How to Remove Certain Screen Options and Table Columns from post type in wp_list_table?
- Create a Static HTML Site from WordPress
- Replace Dashes Before Title in Page List
- wp_list_table search box does not show
- How to Arrange Posts by Size in the WordPress Dashboard?
- Best way to import users, post and categories from an external database
- How to implement WP_List_Table? WP_List_Table giving array instead of a value in listing table
- Import and replace existing page/post content
- Export WP database for import using WP-CLI on Vagrant Box
- Add content before/after admin post wp-list-table
- WP_List_Table Inside Metabox Not Working on Submit
- Searching users with WP_List_Table plugin
- Blog Settings import/export in WordPress Network environment
- Redirect after deleting post and keep track of pagination
- Exporting revisions
- wp_list_table bulk action button is not working – no submit
- Export wordpress table to excel
- Add custom column at custom posts list
- Custom WP_List_Table displays blank rows
- List Table API – Safe to use?
- Migrating WP site to another URL
- How to handle sql with Custom List Table Example