From c9c8c0d214ada8ab54c82f3938c734971dd1a2fc Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Tue, 6 Nov 2012 00:06:44 +0000 Subject: [PATCH] Add the export_filters and wp_export_args hooks. props MartyThornley, brandondove. fixes #19863. git-svn-id: http://core.svn.wordpress.org/trunk@22392 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/export.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wp-admin/export.php b/wp-admin/export.php index cf50566df0..c4f25e442b 100644 --- a/wp-admin/export.php +++ b/wp-admin/export.php @@ -94,6 +94,8 @@ if ( isset( $_GET['download'] ) ) { $args['content'] = $_GET['content']; } + $args = apply_filters( 'wp_export_args', $args ); + export_wp( $args ); die(); } @@ -209,6 +211,8 @@ function export_date_options( $post_type = 'post' ) {

+ +