export_wp_filename WordPress Filter Hook

The export_wp_filename hook is used to filter the name of the file generated when exporting a WordPress site.

apply_filters( 'export_wp_filename', string $wp_filename, string $sitename, string $date ) #

Filters the export filename.


Parameters

$wp_filename

(string)The name of the file for download.

$sitename

(string)The site name.

$date

(string)Today's date, formatted.


Top ↑

Source

File: wp-admin/includes/export.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
4.4.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.