From 98a674b2e9a0a5b8d363e3ec9c780309bba6c956 Mon Sep 17 00:00:00 2001 From: matt Date: Sat, 11 Aug 2007 01:31:10 +0000 Subject: [PATCH] A quick hook when an export is done git-svn-id: http://svn.automattic.com/wordpress/trunk@5862 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/export.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wp-admin/export.php b/wp-admin/export.php index 7fe1e554a0..266f67269b 100644 --- a/wp-admin/export.php +++ b/wp-admin/export.php @@ -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');