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:
parent
c13a667443
commit
98a674b2e9
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue