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
This commit is contained in:
Sergey Biryukov 2013-09-14 01:02:10 +00:00
parent a55d3abd5f
commit bc1c732a16
1 changed files with 15 additions and 1 deletions

View File

@ -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' ) {
<p><label><input type="radio" name="content" value="<?php echo esc_attr( $post_type->name ); ?>" /> <?php echo esc_html( $post_type->label ); ?></label></p>
<?php endforeach; ?>
<?php do_action( 'export_filters' ) ?>
<?php
/**
* Fires after the export filters form.
*
* @since 3.5.0
*/
do_action( 'export_filters' );
?>
<?php submit_button( __('Download Export File') ); ?>
</form>