2006-10-26 00:55:05 +02:00
< ? php
2008-08-11 22:26:31 +02:00
/**
2011-04-28 17:24:49 +02:00
* WordPress Export Administration Screen
2008-08-11 22:26:31 +02:00
*
* @ package WordPress
* @ subpackage Administration
*/
/** Load WordPress Bootstrap */
2020-02-06 07:33:11 +01:00
require_once __DIR__ . '/admin.php' ;
2008-08-11 22:26:31 +02:00
2017-12-01 00:11:00 +01:00
if ( ! current_user_can ( 'export' ) ) {
wp_die ( __ ( 'Sorry, you are not allowed to export the content of this site.' ) );
}
2009-08-02 04:23:54 +02:00
2008-08-11 22:26:31 +02:00
/** Load WordPress export API */
2020-02-06 07:33:11 +01:00
require_once ABSPATH . 'wp-admin/includes/export.php' ;
2021-07-22 15:53:00 +02:00
// Used in the HTML title tag.
2017-12-01 00:11:00 +01:00
$title = __ ( 'Export' );
2006-10-26 00:55:05 +02:00
2012-09-25 04:24:58 +02:00
/**
* Display JavaScript on the page .
*
* @ since 3.5 . 0
*/
2012-09-15 21:49:21 +02:00
function export_add_js () {
2018-08-17 03:51:36 +02:00
?>
2010-12-05 12:21:08 +01:00
< script type = " text/javascript " >
External Libraries: Further fix jQuery deprecations in WordPress core.
Follow-up to [50001], [50270], [50367], [50383], [50410], [50420], [50429], [50547].
Props chaion07, Clorith, costdev, desrosj, malthert, peterwilsoncc, presskopp, promz, sabernhardt, SergeyBiryukov, toro_unit, wpnomad.
Fixes #51519.
Built from https://develop.svn.wordpress.org/trunk@52285
git-svn-id: http://core.svn.wordpress.org/trunk@51877 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-11-30 18:18:01 +01:00
jQuery ( function ( $ ) {
2019-07-05 07:21:56 +02:00
var form = $ ( '#export-filters' ),
filters = form . find ( '.export-filters' );
filters . hide ();
2021-01-22 13:32:03 +01:00
form . find ( 'input:radio' ) . on ( 'change' , function () {
2010-12-05 12:21:08 +01:00
filters . slideUp ( 'fast' );
switch ( $ ( this ) . val () ) {
2015-09-19 18:47:25 +02:00
case 'attachment' : $ ( '#attachment-filters' ) . slideDown (); break ;
2010-12-05 12:21:08 +01:00
case 'posts' : $ ( '#post-filters' ) . slideDown (); break ;
case 'pages' : $ ( '#page-filters' ) . slideDown (); break ;
}
2019-07-05 07:21:56 +02:00
});
External Libraries: Further fix jQuery deprecations in WordPress core.
Follow-up to [50001], [50270], [50367], [50383], [50410], [50420], [50429], [50547].
Props chaion07, Clorith, costdev, desrosj, malthert, peterwilsoncc, presskopp, promz, sabernhardt, SergeyBiryukov, toro_unit, wpnomad.
Fixes #51519.
Built from https://develop.svn.wordpress.org/trunk@52285
git-svn-id: http://core.svn.wordpress.org/trunk@51877 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-11-30 18:18:01 +01:00
} );
2010-12-05 12:21:08 +01:00
</ script >
2018-08-17 03:51:36 +02:00
< ? php
2010-12-05 12:21:08 +01:00
}
2012-09-15 21:49:21 +02:00
add_action ( 'admin_head' , 'export_add_js' );
2010-12-05 12:21:08 +01:00
2017-12-01 00:11:00 +01:00
get_current_screen () -> add_help_tab (
array (
'id' => 'overview' ,
'title' => __ ( 'Overview' ),
'content' => '<p>' . __ ( 'You can export a file of your site’s content in order to import it into another installation or platform. The export file will be an XML file format called WXR. Posts, pages, comments, custom fields, categories, and tags can be included. You can choose for the WXR file to include only certain posts or pages by setting the dropdown filters to limit the export by category, author, date range by month, or publishing status.' ) . '</p>' .
'<p>' . __ ( 'Once generated, your WXR file can be imported by another WordPress site or by another blogging platform able to access this format.' ) . '</p>' ,
)
);
2011-11-02 04:12:37 +01:00
2011-11-02 21:14:10 +01:00
get_current_screen () -> set_help_sidebar (
2017-12-01 00:11:00 +01:00
'<p><strong>' . __ ( 'For more information:' ) . '</strong></p>' .
2023-02-23 11:38:21 +01:00
'<p>' . __ ( '<a href="https://wordpress.org/documentation/article/tools-export-screen/">Documentation on Export</a>' ) . '</p>' .
'<p>' . __ ( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
2010-05-27 00:18:19 +02:00
);
2014-11-01 21:20:23 +01:00
// If the 'download' URL parameter is set, a WXR export file is baked and returned.
2008-02-05 07:47:27 +01:00
if ( isset ( $_GET [ 'download' ] ) ) {
2010-12-01 18:21:58 +01:00
$args = array ();
2020-05-12 20:32:08 +02:00
if ( ! isset ( $_GET [ 'content' ] ) || 'all' === $_GET [ 'content' ] ) {
2010-12-01 18:21:58 +01:00
$args [ 'content' ] = 'all' ;
2020-05-12 20:32:08 +02:00
} elseif ( 'posts' === $_GET [ 'content' ] ) {
2010-12-01 18:21:58 +01:00
$args [ 'content' ] = 'post' ;
2017-12-01 00:11:00 +01:00
if ( $_GET [ 'cat' ] ) {
2010-12-01 18:21:58 +01:00
$args [ 'category' ] = ( int ) $_GET [ 'cat' ];
2017-12-01 00:11:00 +01:00
}
2010-12-01 18:21:58 +01:00
2017-12-01 00:11:00 +01:00
if ( $_GET [ 'post_author' ] ) {
2010-12-01 18:21:58 +01:00
$args [ 'author' ] = ( int ) $_GET [ 'post_author' ];
2017-12-01 00:11:00 +01:00
}
2010-12-01 18:21:58 +01:00
if ( $_GET [ 'post_start_date' ] || $_GET [ 'post_end_date' ] ) {
$args [ 'start_date' ] = $_GET [ 'post_start_date' ];
2017-12-01 00:11:00 +01:00
$args [ 'end_date' ] = $_GET [ 'post_end_date' ];
2010-12-01 18:21:58 +01:00
}
2017-12-01 00:11:00 +01:00
if ( $_GET [ 'post_status' ] ) {
2010-12-01 18:21:58 +01:00
$args [ 'status' ] = $_GET [ 'post_status' ];
2017-12-01 00:11:00 +01:00
}
2020-05-12 20:32:08 +02:00
} elseif ( 'pages' === $_GET [ 'content' ] ) {
2010-12-01 18:21:58 +01:00
$args [ 'content' ] = 'page' ;
2017-12-01 00:11:00 +01:00
if ( $_GET [ 'page_author' ] ) {
2010-12-01 18:21:58 +01:00
$args [ 'author' ] = ( int ) $_GET [ 'page_author' ];
2017-12-01 00:11:00 +01:00
}
2010-12-01 18:21:58 +01:00
if ( $_GET [ 'page_start_date' ] || $_GET [ 'page_end_date' ] ) {
$args [ 'start_date' ] = $_GET [ 'page_start_date' ];
2017-12-01 00:11:00 +01:00
$args [ 'end_date' ] = $_GET [ 'page_end_date' ];
2010-12-01 18:21:58 +01:00
}
2017-12-01 00:11:00 +01:00
if ( $_GET [ 'page_status' ] ) {
2010-12-01 18:21:58 +01:00
$args [ 'status' ] = $_GET [ 'page_status' ];
2017-12-01 00:11:00 +01:00
}
2020-05-12 20:32:08 +02:00
} elseif ( 'attachment' === $_GET [ 'content' ] ) {
2015-09-19 18:47:25 +02:00
$args [ 'content' ] = 'attachment' ;
2015-10-21 05:57:24 +02:00
2015-09-19 18:47:25 +02:00
if ( $_GET [ 'attachment_start_date' ] || $_GET [ 'attachment_end_date' ] ) {
$args [ 'start_date' ] = $_GET [ 'attachment_start_date' ];
2017-12-01 00:11:00 +01:00
$args [ 'end_date' ] = $_GET [ 'attachment_end_date' ];
2015-09-19 18:47:25 +02:00
}
2017-12-01 00:11:00 +01:00
} else {
2010-12-01 18:21:58 +01:00
$args [ 'content' ] = $_GET [ 'content' ];
}
2013-09-14 03:02:10 +02:00
/**
2016-05-22 20:01:30 +02:00
* Filters the export args .
2013-09-14 03:02:10 +02:00
*
* @ since 3.5 . 0
*
* @ param array $args The arguments to send to the exporter .
*/
2012-11-06 15:51:45 +01:00
$args = apply_filters ( 'export_args' , $args );
2012-11-06 01:06:44 +01:00
2010-12-01 18:21:58 +01:00
export_wp ( $args );
2007-11-15 06:32:33 +01:00
die ();
}
2006-10-26 00:55:05 +02:00
2020-02-06 07:33:11 +01:00
require_once ABSPATH . 'wp-admin/admin-header.php' ;
2010-03-03 17:45:40 +01:00
2013-09-19 04:09:08 +02:00
/**
2023-06-14 16:08:18 +02:00
* Creates the date options fields for exporting a given post type .
2013-09-19 04:09:08 +02:00
*
2014-10-31 18:56:22 +01:00
* @ global wpdb $wpdb WordPress database abstraction object .
2019-08-04 03:46:55 +02:00
* @ global WP_Locale $wp_locale WordPress date and time locale object .
2013-09-19 04:09:08 +02:00
*
* @ since 3.1 . 0
*
* @ param string $post_type The post type . Default 'post' .
*/
2011-12-22 13:08:26 +01:00
function export_date_options ( $post_type = 'post' ) {
2010-12-01 18:21:58 +01:00
global $wpdb , $wp_locale ;
2017-12-01 00:11:00 +01:00
$months = $wpdb -> get_results (
$wpdb -> prepare (
2023-05-25 14:55:19 +02:00
" SELECT DISTINCT YEAR( post_date ) AS year, MONTH( post_date ) AS month
FROM $wpdb -> posts
WHERE post_type = % s AND post_status != 'auto-draft'
ORDER BY post_date DESC " ,
2018-08-17 03:51:36 +02:00
$post_type
2017-12-01 00:11:00 +01:00
)
);
2010-12-01 18:21:58 +01:00
$month_count = count ( $months );
2020-05-12 20:32:08 +02:00
if ( ! $month_count || ( 1 === $month_count && 0 === ( int ) $months [ 0 ] -> month ) ) {
2010-12-01 18:21:58 +01:00
return ;
2017-12-01 00:11:00 +01:00
}
2010-12-01 18:21:58 +01:00
foreach ( $months as $date ) {
2020-05-12 20:32:08 +02:00
if ( 0 === ( int ) $date -> year ) {
2010-12-01 18:21:58 +01:00
continue ;
2017-12-01 00:11:00 +01:00
}
2010-12-01 18:21:58 +01:00
$month = zeroise ( $date -> month , 2 );
2011-05-24 01:33:30 +02:00
echo '<option value="' . $date -> year . '-' . $month . '">' . $wp_locale -> get_month ( $month ) . ' ' . $date -> year . '</option>' ;
2010-05-04 19:31:36 +02:00
}
}
?>
2006-10-26 00:55:05 +02:00
< div class = " wrap " >
2015-06-27 17:41:25 +02:00
< h1 >< ? php echo esc_html ( $title ); ?> </h1>
2008-10-17 22:02:03 +02:00
2017-12-01 00:11:00 +01:00
< p >< ? php _e ( 'When you click the button below WordPress will create an XML file for you to save to your computer.' ); ?> </p>
Administration: Remove self-reference ("we") in WordPress Admin.
This changes updates many strings to remove self-references to an undefined "we" collective across the WordPress Administration.
The goal of this change is to better match the guidelines and recommendations set forth in the make/core handbook, specifically:
> the word "we" should be avoided (…) unless its made very clear which group is speaking.
Props johnbillion, shital-patel, audrasjb, marybaum, SergeyBiryukov, peterwilsoncc, johnjamesjacoby, kebbet, costdev, chaion07, davidbaumwald.
Fixes #46057.
Built from https://develop.svn.wordpress.org/trunk@53131
git-svn-id: http://core.svn.wordpress.org/trunk@52720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-04-11 13:42:04 +02:00
< p >< ? php _e ( 'This format, which is called WordPress eXtended RSS or WXR, will contain your posts, pages, comments, custom fields, categories, and tags.' ); ?> </p>
2017-12-01 00:11:00 +01:00
< p >< ? php _e ( 'Once you’ve saved the download file, you can use the Import function in another WordPress installation to import the content from this site.' ); ?> </p>
2010-12-01 18:21:58 +01:00
2015-09-05 22:09:24 +02:00
< h2 >< ? php _e ( 'Choose what to export' ); ?> </h2>
2015-01-16 05:16:24 +01:00
< form method = " get " id = " export-filters " >
2015-10-21 05:57:24 +02:00
< fieldset >
I18N: Mark screen reader strings as such with translator comments.
This aims to provide better context for translators and make it easier to determine that some strings contain hidden accessibility text and are not displayed in the UI.
Props kebbet, mercime, pavelevap, ocean90, swissspidy, Chouby, jipmoors, afercia, desrosj, costdev, audrasjb, SergeyBiryukov.
Fixes #29748.
Built from https://develop.svn.wordpress.org/trunk@55276
git-svn-id: http://core.svn.wordpress.org/trunk@54809 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-02-07 18:10:21 +01:00
< legend class = " screen-reader-text " >
< ? php
/* translators: Hidden accessibility text. */
_e ( 'Content to export' );
?>
</ legend >
2006-10-26 00:55:05 +02:00
< input type = " hidden " name = " download " value = " true " />
2015-10-21 05:57:24 +02:00
< p >< label >< input type = " radio " name = " content " value = " all " checked = " checked " aria - describedby = " all-content-desc " /> < ? php _e ( 'All content' ); ?> </label></p>
2015-12-31 20:33:25 +01:00
< p class = " description " id = " all-content-desc " >< ? php _e ( 'This will contain all of your posts, pages, comments, custom fields, terms, navigation menus, and custom posts.' ); ?> </p>
2006-10-26 00:55:05 +02:00
2020-02-11 20:35:06 +01:00
< p >< label >< input type = " radio " name = " content " value = " posts " /> < ? php _ex ( 'Posts' , 'post type general name' ); ?> </label></p>
2010-12-01 18:21:58 +01:00
< ul id = " post-filters " class = " export-filters " >
< li >
2015-10-21 05:57:24 +02:00
< label >< span class = " label-responsive " >< ? php _e ( 'Categories:' ); ?> </span>
2017-12-01 00:11:00 +01:00
< ? php wp_dropdown_categories ( array ( 'show_option_all' => __ ( 'All' ) ) ); ?>
2015-10-21 05:57:24 +02:00
</ label >
2010-12-01 18:21:58 +01:00
</ li >
< li >
2015-10-21 05:57:24 +02:00
< label >< span class = " label-responsive " >< ? php _e ( 'Authors:' ); ?> </span>
< ? php
2010-12-15 23:38:07 +01:00
$authors = $wpdb -> get_col ( " SELECT DISTINCT post_author FROM { $wpdb -> posts } WHERE post_type = 'post' " );
2017-12-01 00:11:00 +01:00
wp_dropdown_users (
array (
'include' => $authors ,
'name' => 'post_author' ,
'multi' => true ,
'show_option_all' => __ ( 'All' ),
'show' => 'display_name_with_login' ,
)
);
?>
2015-10-21 05:57:24 +02:00
</ label >
2010-12-01 18:21:58 +01:00
</ li >
< li >
2015-10-21 05:57:24 +02:00
< fieldset >
I18N: Mark screen reader strings as such with translator comments.
This aims to provide better context for translators and make it easier to determine that some strings contain hidden accessibility text and are not displayed in the UI.
Props kebbet, mercime, pavelevap, ocean90, swissspidy, Chouby, jipmoors, afercia, desrosj, costdev, audrasjb, SergeyBiryukov.
Fixes #29748.
Built from https://develop.svn.wordpress.org/trunk@55276
git-svn-id: http://core.svn.wordpress.org/trunk@54809 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-02-07 18:10:21 +01:00
< legend class = " screen-reader-text " >
< ? php
/* translators: Hidden accessibility text. */
_e ( 'Date range:' )
?>
</ legend >
2015-10-21 05:57:24 +02:00
< label for = " post-start-date " class = " label-responsive " >< ? php _e ( 'Start date:' ); ?> </label>
< select name = " post_start_date " id = " post-start-date " >
< option value = " 0 " >< ? php _e ( '— Select —' ); ?> </option>
2010-12-01 18:21:58 +01:00
< ? php export_date_options (); ?>
</ select >
2015-10-21 05:57:24 +02:00
< label for = " post-end-date " class = " label-responsive " >< ? php _e ( 'End date:' ); ?> </label>
< select name = " post_end_date " id = " post-end-date " >
< option value = " 0 " >< ? php _e ( '— Select —' ); ?> </option>
2010-12-01 18:21:58 +01:00
< ? php export_date_options (); ?>
</ select >
2015-10-21 05:57:24 +02:00
</ fieldset >
2010-12-01 18:21:58 +01:00
</ li >
< li >
2015-10-21 05:57:24 +02:00
< label for = " post-status " class = " label-responsive " >< ? php _e ( 'Status:' ); ?> </label>
< select name = " post_status " id = " post-status " >
2010-12-01 18:21:58 +01:00
< option value = " 0 " >< ? php _e ( 'All' ); ?> </option>
2017-12-01 00:11:00 +01:00
< ? php
$post_stati = get_post_stati ( array ( 'internal' => false ), 'objects' );
foreach ( $post_stati as $status ) :
2018-08-17 03:51:36 +02:00
?>
2010-12-01 18:21:58 +01:00
< option value = " <?php echo esc_attr( $status->name ); ?> " >< ? php echo esc_html ( $status -> label ); ?> </option>
< ? php endforeach ; ?>
</ select >
</ li >
</ ul >
2006-10-26 00:55:05 +02:00
2010-12-01 18:21:58 +01:00
< p >< label >< input type = " radio " name = " content " value = " pages " /> < ? php _e ( 'Pages' ); ?> </label></p>
< ul id = " page-filters " class = " export-filters " >
< li >
2015-10-21 05:57:24 +02:00
< label >< span class = " label-responsive " >< ? php _e ( 'Authors:' ); ?> </span>
< ? php
2010-12-15 23:38:07 +01:00
$authors = $wpdb -> get_col ( " SELECT DISTINCT post_author FROM { $wpdb -> posts } WHERE post_type = 'page' " );
2017-12-01 00:11:00 +01:00
wp_dropdown_users (
array (
'include' => $authors ,
'name' => 'page_author' ,
'multi' => true ,
'show_option_all' => __ ( 'All' ),
'show' => 'display_name_with_login' ,
)
);
?>
2015-10-21 05:57:24 +02:00
</ label >
2010-12-01 18:21:58 +01:00
</ li >
< li >
2015-10-21 05:57:24 +02:00
< fieldset >
I18N: Mark screen reader strings as such with translator comments.
This aims to provide better context for translators and make it easier to determine that some strings contain hidden accessibility text and are not displayed in the UI.
Props kebbet, mercime, pavelevap, ocean90, swissspidy, Chouby, jipmoors, afercia, desrosj, costdev, audrasjb, SergeyBiryukov.
Fixes #29748.
Built from https://develop.svn.wordpress.org/trunk@55276
git-svn-id: http://core.svn.wordpress.org/trunk@54809 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-02-07 18:10:21 +01:00
< legend class = " screen-reader-text " >
< ? php
/* translators: Hidden accessibility text. */
_e ( 'Date range:' );
?>
</ legend >
2015-10-21 05:57:24 +02:00
< label for = " page-start-date " class = " label-responsive " >< ? php _e ( 'Start date:' ); ?> </label>
< select name = " page_start_date " id = " page-start-date " >
< option value = " 0 " >< ? php _e ( '— Select —' ); ?> </option>
2011-12-22 13:08:26 +01:00
< ? php export_date_options ( 'page' ); ?>
2010-12-01 18:21:58 +01:00
</ select >
2015-10-21 05:57:24 +02:00
< label for = " page-end-date " class = " label-responsive " >< ? php _e ( 'End date:' ); ?> </label>
< select name = " page_end_date " id = " page-end-date " >
< option value = " 0 " >< ? php _e ( '— Select —' ); ?> </option>
2011-12-22 13:08:26 +01:00
< ? php export_date_options ( 'page' ); ?>
2010-12-01 18:21:58 +01:00
</ select >
2015-10-21 05:57:24 +02:00
</ fieldset >
2010-12-01 18:21:58 +01:00
</ li >
< li >
2015-10-21 05:57:24 +02:00
< label for = " page-status " class = " label-responsive " >< ? php _e ( 'Status:' ); ?> </label>
< select name = " page_status " id = " page-status " >
2010-12-01 18:21:58 +01:00
< option value = " 0 " >< ? php _e ( 'All' ); ?> </option>
< ? php foreach ( $post_stati as $status ) : ?>
< option value = " <?php echo esc_attr( $status->name ); ?> " >< ? php echo esc_html ( $status -> label ); ?> </option>
< ? php endforeach ; ?>
</ select >
</ li >
</ ul >
2006-10-26 00:55:05 +02:00
2017-12-01 00:11:00 +01:00
< ? php
foreach ( get_post_types (
array (
'_builtin' => false ,
'can_export' => true ,
2018-08-17 03:51:36 +02:00
),
'objects'
2017-12-01 00:11:00 +01:00
) as $post_type ) :
2018-08-17 03:51:36 +02:00
?>
2010-12-01 18:21:58 +01:00
< 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 ; ?>
2015-10-21 05:57:24 +02:00
2015-09-19 18:47:25 +02:00
< p >< label >< input type = " radio " name = " content " value = " attachment " /> < ? php _e ( 'Media' ); ?> </label></p>
< ul id = " attachment-filters " class = " export-filters " >
< li >
2015-10-21 05:57:24 +02:00
< fieldset >
I18N: Mark screen reader strings as such with translator comments.
This aims to provide better context for translators and make it easier to determine that some strings contain hidden accessibility text and are not displayed in the UI.
Props kebbet, mercime, pavelevap, ocean90, swissspidy, Chouby, jipmoors, afercia, desrosj, costdev, audrasjb, SergeyBiryukov.
Fixes #29748.
Built from https://develop.svn.wordpress.org/trunk@55276
git-svn-id: http://core.svn.wordpress.org/trunk@54809 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-02-07 18:10:21 +01:00
< legend class = " screen-reader-text " >
< ? php
/* translators: Hidden accessibility text. */
_e ( 'Date range:' );
?>
</ legend >
2015-10-21 05:57:24 +02:00
< label for = " attachment-start-date " class = " label-responsive " >< ? php _e ( 'Start date:' ); ?> </label>
< select name = " attachment_start_date " id = " attachment-start-date " >
< option value = " 0 " >< ? php _e ( '— Select —' ); ?> </option>
2015-09-19 18:47:25 +02:00
< ? php export_date_options ( 'attachment' ); ?>
</ select >
2015-10-21 05:57:24 +02:00
< label for = " attachment-end-date " class = " label-responsive " >< ? php _e ( 'End date:' ); ?> </label>
< select name = " attachment_end_date " id = " attachment-end-date " >
< option value = " 0 " >< ? php _e ( '— Select —' ); ?> </option>
2015-09-19 18:47:25 +02:00
< ? php export_date_options ( 'attachment' ); ?>
</ select >
2015-10-21 05:57:24 +02:00
</ fieldset >
2015-09-19 18:47:25 +02:00
</ li >
</ ul >
2015-10-21 05:57:24 +02:00
</ fieldset >
2013-09-14 03:02:10 +02:00
< ? php
/**
2015-10-21 05:57:24 +02:00
* Fires at the end of the export filters form .
2013-09-14 03:02:10 +02:00
*
* @ since 3.5 . 0
*/
do_action ( 'export_filters' );
?>
2012-11-06 01:06:44 +01:00
2017-12-01 00:11:00 +01:00
< ? php submit_button ( __ ( 'Download Export File' ) ); ?>
2010-12-01 18:21:58 +01:00
</ form >
</ div >
2020-02-06 07:33:11 +01:00
< ? php require_once ABSPATH . 'wp-admin/admin-footer.php' ; ?>