By default, the filename is defined in /wp-admin/includes/export.php
:
$sitename = sanitize_key( get_bloginfo( 'name' ) );
if ( ! empty( $sitename ) ) {
$sitename .= '.';
}
$date = gmdate( 'Y-m-d' );
$wp_filename = $sitename . 'WordPress.' . $date . '.xml';
And you can filter it:
$filename = apply_filters( 'export_wp_filename', $wp_filename, $sitename, $date );
So you could make a plugin and add a filter there:
add_filter(
'export_wp_filename',
function( $wp_filename, $sitename, $date )
{
// do something here, and then return a string
}, 10, 3
);
Related Posts:
- Is it possible to export WordPress from command line?
- Best practice to import/export specific pages and posts
- How can transfer get so large when exporting data (15-16MB to over 10GB)
- ExpressionEngine Export/Import Issues
- How do I export my WordPress blog as a book? [closed]
- 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 can I get an XML export of my 1K+ posts WordPress instance?
- How do I add paragraph tags to all of my posts after relying on wpauto?
- XML export posts from one single day
- export csv functionality into my plugin
- How can I export post data in xml format?
- 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
- Export xml use/import images from theme directory
- Problems with WordPress Import
- UTF8 Encoding problems when exporting posts
- How to give my database to a friend for duplication in a secure way [closed]
- How to import several big Import XMLs?
- How can I export data without using any import/export plugin
- 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?
- Get all post from table and put it in excel sheet
- How to replace all images within exported xml files to demo.jpg?
- Moving 2 wordpress sites to one
- 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 Posts Without Categories In An XML File
- Best Way To Locate Offending WP Table
- How to pretty print XML from the command line?
- How to convert JSON to XML or XML to JSON?
- XSLT-FO for-each
- How do I export whole Unity project with all scenes?
- “Content is not allowed in prolog” when parsing perfectly valid XML on GAE
- Text editor to open big (giant, huge, large) text files
- xmlns, xmlns:xsi, xsi:schemaLocation, and targetNamespace?
- ‘xmlParseEntityRef: no name’ warnings while loading xml into a php file
- No module named urllib3
- What are invalid characters in XML
- How to parse XML in Bash?
- XML Error: Extra content at the end of the document
- How To Export/Import WordPress (MySQL) Database Properly Via Command-Line?
- What is the required format for importing posts into WordPress?
- WordPress Theme Options Import/Export
- Export navigation menu
- Hook for URL Request
- Export WP database for import using WP-CLI on Vagrant Box
- How can I export WordPress posts’ attachments?
- Non-Linear Questionnaires in WordPress
- How to migrate WordPress Blogs into Multisite without using the GUI-Import/Export Feature
- Copy site from one multisite to another
- Save page data to an xml file
- MySQL Syntax Error upon restoring database from backup [closed]
- Is it possible to import a wordpress backup from a single site in to a multi-site configuration?
- Create Posts using Import>RSS/WXR/XML and pass values to Custom Fields
- Create XML files on post edit screen
- Publish an XML feed from a CPT with ACF fields?
- How to properly loop through these external URLs to get them into the sitemap using this hook
- Post processing of uploaded file
- Using WPDB to output raw XML fails because of wp-blog-header.php
- How to export post 2 posts WordPress plugin data [closed]
- WP All Import: Feeds of Feeds [closed]
- Export Specific User data without plugin
- How do I export WordPress galleries?
- Export SQL query based on post type
- Export Users and their Advanced Custom Fields
- WordPress ajax-action failing because of newline in response
- get csv of users with user_meta
- Receive error exception using xampp with wordpress
- Work with xml file and WordPress
- Migrating to Tumblr [closed]
- How to import nested categories from XML file?
- WordPress importer / problem with images
- How to Get Category Name When Export Products
- Import media (.xml) does not attribute featured images to posts
- Featured image error after importing blog posts
- SimpleXML is not working with xml response from external api
- How To Export User’s Custom Fields in CSV or XLSX
- Dynamically Create Posts Via XML File
- WooCommerce – Adding Product Attributes to CSV Export
- Imported posts using wrong domain name
- How to export database correctly for local to online
- special XML to wordpress posts
- Create plugin/function to catch XML-data via Shortcode
- WordPress Feed Error [closed]
- WordPress Export/Import for custom options.php values?