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 export native WordPress events in a form useful to Events Calendar
- How to export custom post type posts based on date range
- How do I comment out a block of tags in XML?
- What does
- How to pretty print XML from the command line?
- How do I comment out a block of tags in XML?
- What does “xmlns” in XML mean?
- How to convert JSON to XML or XML to JSON?
- How to parse XML and count instances of a particular node attribute?
- How to use XPath contains() here?
- Export Pervasive to MySQL (C#)
- Looking for a clear description of Excel’s .xlsx XML format
- Parse XML using JavaScript [duplicate]
- (Python) AttributeError: ‘NoneType’ object has no attribute ‘text’
- XSLT-FO for-each
- How do I export whole Unity project with all scenes?
- java.net.MalformedURLException: no protocol
- What characters do I need to escape in XML documents?
- “Content is not allowed in prolog” when parsing perfectly valid XML on GAE
- Meaning of –
- Import / Export database with SQL Server Server Management Studio
- XSLT for each loop on simple XML
- Why Is `Export Default Const` invalid?
- AttributeError: ‘list’ object has no attribute ‘replace’ when trying to remove character
- Is XML a programming language?
- Convert XML to CSV file
- What is the best/simplest way to read in an XML file in Java application?
- AttributeError: ‘list’ object has no attribute ‘replace’ when trying to remove character
- How do I read and parse an XML file in C#?
- XML Parsing Error: not well-formed
- Text editor to open big (giant, huge, large) text files
- Opening JSF Facelets page shows “This XML file does not appear to have any style information associated with it.”
- XML Parsing Error: no root element found Location in Console FF
- AttributeError: ‘list’ object has no attribute ‘replace’ when trying to remove character
- Converting XML to JSON using Python?
- How To Auto-Format / Indent XML/HTML in Notepad++
- What’s the difference between text/xml vs application/xml for webservice response
- How can I export data to an Excel file
- ImageView in circular through XML
- How to properly export an ES6 class in Node 4?
- XPath: Get parent node from child node
- What is the difference between Inclusive and Exclusive OR?
- How do you parse and process HTML/XML in PHP?
- What is the best open XML parser for C++?
- Manifest Merger failed with multiple errors in Android Studio
- How to parse XML data in SQL server table
- Converting JSON to XML in Java
- align text center with android
- PHP convert XML to JSON
- Do a “git export” (like “svn export”)?
- How to convert an XML string to a dictionary?
- -bash: export: `=’: not a valid identifier
- In_array not working
- xmlns, xmlns:xsi, xsi:schemaLocation, and targetNamespace?
- javax.xml.bind.UnmarshalException: unexpected element (uri:””, local:”Group”)
- org.xml.sax.SAXParseException: Content is not allowed in prolog
- ‘xmlParseEntityRef: no name’ warnings while loading xml into a php file