A quick hook when an export is done

git-svn-id: http://svn.automattic.com/wordpress/trunk@5862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
matt 2007-08-11 01:31:10 +00:00
parent c13a667443
commit 98a674b2e9

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');