On this page
apply_filters( 'export_wp_filename', string $wp_filename, string $sitename, string $date )
Filters the export filename.
Parameters
$wp_filenamestring-
The name of the file for download.
$sitenamestring-
The site name.
$datestring-
Today's date, formatted.
Source
File: wp-admin/includes/export.php. View all references
$filename = apply_filters( 'export_wp_filename', $wp_filename, $sitename, $date );
Related
Used By
| Used By | Description |
|---|---|
| export_wp() wp-admin/includes/export.php | Generates the WXR export file for download. |
Changelog
| Version | Description |
|---|---|
| 4.4.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/export_wp_filename