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:
parent
3b8b2a649a
commit
4bc96e19cf
@ -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
Block a user