From bc1c732a1623d965e83d6d4361d7e11d7890648f Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 14 Sep 2013 01:02:10 +0000 Subject: [PATCH] Inline documentation for hooks in wp-admin/export.php. props mordauk. see #25229. Built from https://develop.svn.wordpress.org/trunk@25435 git-svn-id: http://core.svn.wordpress.org/trunk@25357 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/export.php | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/wp-admin/export.php b/wp-admin/export.php index fc491b3b3a..46d3dccee2 100644 --- a/wp-admin/export.php +++ b/wp-admin/export.php @@ -94,6 +94,13 @@ if ( isset( $_GET['download'] ) ) { $args['content'] = $_GET['content']; } + /** + * Filter the export args. + * + * @since 3.5.0 + * + * @param array $args The arguments to send to the exporter. + */ $args = apply_filters( 'export_args', $args ); export_wp( $args ); @@ -211,7 +218,14 @@ function export_date_options( $post_type = 'post' ) {

- +