A quick hook when an export is done

git-svn-id: https://develop.svn.wordpress.org/trunk@5862 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2007-08-11 01:31:10 +00:00
parent 3b8b2a649a
commit 4bc96e19cf

View File

@ -47,6 +47,8 @@ foreach ( $authors as $id ) {
function export_wp() {
global $wpdb, $post_ids, $post;
do_action('export_wp');
$filename = 'wordpress.' . date('Y-m-d') . '.xml';
header('Content-Description: File Transfer');