From 64eec204131f06c2a2ae37062e888a8306649218 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 14 Sep 2013 01:01:49 +0000 Subject: [PATCH] Inline documentation for hooks in wp-admin/export.php. props mordauk. see #25229. git-svn-id: https://develop.svn.wordpress.org/trunk@25435 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/export.php | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/src/wp-admin/export.php b/src/wp-admin/export.php index fc491b3b3a..46d3dccee2 100644 --- a/src/wp-admin/export.php +++ b/src/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' ) {

- +