2006-10-25 18:55:05 -04:00
< ? php
2008-08-11 16:26:31 -04:00
/**
2011-04-28 11:24:49 -04:00
* WordPress Export Administration Screen
2008-08-11 16:26:31 -04:00
*
* @ package WordPress
* @ subpackage Administration
*/
/** Load WordPress Bootstrap */
2020-02-06 01:33:11 -05:00
require_once __DIR__ . '/admin.php' ;
2008-08-11 16:26:31 -04:00
2017-11-30 18:11:00 -05:00
if ( ! current_user_can ( 'export' ) ) {
wp_die ( __ ( 'Sorry, you are not allowed to export the content of this site.' ) );
}
2009-08-01 22:23:54 -04:00
2008-08-11 16:26:31 -04:00
/** Load WordPress export API */
2020-02-06 01:33:11 -05:00
require_once ABSPATH . 'wp-admin/includes/export.php' ;
2021-07-22 09:53:00 -04:00
// Used in the HTML title tag.
2017-11-30 18:11:00 -05:00
$title = __ ( 'Export' );
2006-10-25 18:55:05 -04:00
2012-09-24 22:24:58 -04:00
/**
* Display JavaScript on the page .
*
* @ since 3.5 . 0
*/
2012-09-15 15:49:21 -04:00
function export_add_js () {
2018-08-16 21:51:36 -04:00
?>
2010-12-05 06:21:08 -05: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 12:18:01 -05:00
jQuery ( function ( $ ) {
2019-07-05 01:21:56 -04:00
var form = $ ( '#export-filters' ),
filters = form . find ( '.export-filters' );
filters . hide ();
2021-01-22 07:32:03 -05:00
form . find ( 'input:radio' ) . on ( 'change' , function () {
2010-12-05 06:21:08 -05:00
filters . slideUp ( 'fast' );
switch ( $ ( this ) . val () ) {
2015-09-19 12:47:25 -04:00
case 'attachment' : $ ( '#attachment-filters' ) . slideDown (); break ;
2010-12-05 06:21:08 -05:00
case 'posts' : $ ( '#post-filters' ) . slideDown (); break ;
case 'pages' : $ ( '#page-filters' ) . slideDown (); break ;
}
2019-07-05 01:21:56 -04: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 12:18:01 -05:00
} );
2010-12-05 06:21:08 -05:00
</ script >
2018-08-16 21:51:36 -04:00
< ? php
2010-12-05 06:21:08 -05:00
}
2012-09-15 15:49:21 -04:00
add_action ( 'admin_head' , 'export_add_js' );
2010-12-05 06:21:08 -05:00
2017-11-30 18:11:00 -05: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-01 23:12:37 -04:00
2011-11-02 16:14:10 -04:00
get_current_screen () -> set_help_sidebar (
2017-11-30 18:11:00 -05:00
'<p><strong>' . __ ( 'For more information:' ) . '</strong></p>' .
2019-07-25 18:45:57 -04:00
'<p>' . __ ( '<a href="https://wordpress.org/support/article/tools-export-screen/">Documentation on Export</a>' ) . '</p>' .
2019-04-08 18:59:56 -04:00
'<p>' . __ ( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
2010-05-26 18:18:19 -04:00
);
2014-11-01 16:20:23 -04:00
// If the 'download' URL parameter is set, a WXR export file is baked and returned.
2008-02-05 01:47:27 -05:00
if ( isset ( $_GET [ 'download' ] ) ) {
2010-12-01 12:21:58 -05:00
$args = array ();
2020-05-12 14:32:08 -04:00
if ( ! isset ( $_GET [ 'content' ] ) || 'all' === $_GET [ 'content' ] ) {
2010-12-01 12:21:58 -05:00
$args [ 'content' ] = 'all' ;
2020-05-12 14:32:08 -04:00
} elseif ( 'posts' === $_GET [ 'content' ] ) {
2010-12-01 12:21:58 -05:00
$args [ 'content' ] = 'post' ;
2017-11-30 18:11:00 -05:00
if ( $_GET [ 'cat' ] ) {
2010-12-01 12:21:58 -05:00
$args [ 'category' ] = ( int ) $_GET [ 'cat' ];
2017-11-30 18:11:00 -05:00
}
2010-12-01 12:21:58 -05:00
2017-11-30 18:11:00 -05:00
if ( $_GET [ 'post_author' ] ) {
2010-12-01 12:21:58 -05:00
$args [ 'author' ] = ( int ) $_GET [ 'post_author' ];
2017-11-30 18:11:00 -05:00
}
2010-12-01 12:21:58 -05:00
if ( $_GET [ 'post_start_date' ] || $_GET [ 'post_end_date' ] ) {
$args [ 'start_date' ] = $_GET [ 'post_start_date' ];
2017-11-30 18:11:00 -05:00
$args [ 'end_date' ] = $_GET [ 'post_end_date' ];
2010-12-01 12:21:58 -05:00
}
2017-11-30 18:11:00 -05:00
if ( $_GET [ 'post_status' ] ) {
2010-12-01 12:21:58 -05:00
$args [ 'status' ] = $_GET [ 'post_status' ];
2017-11-30 18:11:00 -05:00
}
2020-05-12 14:32:08 -04:00
} elseif ( 'pages' === $_GET [ 'content' ] ) {
2010-12-01 12:21:58 -05:00
$args [ 'content' ] = 'page' ;
2017-11-30 18:11:00 -05:00
if ( $_GET [ 'page_author' ] ) {
2010-12-01 12:21:58 -05:00
$args [ 'author' ] = ( int ) $_GET [ 'page_author' ];
2017-11-30 18:11:00 -05:00
}
2010-12-01 12:21:58 -05:00
if ( $_GET [ 'page_start_date' ] || $_GET [ 'page_end_date' ] ) {
$args [ 'start_date' ] = $_GET [ 'page_start_date' ];
2017-11-30 18:11:00 -05:00
$args [ 'end_date' ] = $_GET [ 'page_end_date' ];
2010-12-01 12:21:58 -05:00
}
2017-11-30 18:11:00 -05:00
if ( $_GET [ 'page_status' ] ) {
2010-12-01 12:21:58 -05:00
$args [ 'status' ] = $_GET [ 'page_status' ];
2017-11-30 18:11:00 -05:00
}
2020-05-12 14:32:08 -04:00
} elseif ( 'attachment' === $_GET [ 'content' ] ) {
2015-09-19 12:47:25 -04:00
$args [ 'content' ] = 'attachment' ;
2015-10-20 23:57:24 -04:00
2015-09-19 12:47:25 -04:00
if ( $_GET [ 'attachment_start_date' ] || $_GET [ 'attachment_end_date' ] ) {
$args [ 'start_date' ] = $_GET [ 'attachment_start_date' ];
2017-11-30 18:11:00 -05:00
$args [ 'end_date' ] = $_GET [ 'attachment_end_date' ];
2015-09-19 12:47:25 -04:00
}
2017-11-30 18:11:00 -05:00
} else {
2010-12-01 12:21:58 -05:00
$args [ 'content' ] = $_GET [ 'content' ];
}
2013-09-13 21:02:10 -04:00
/**
2016-05-22 14:01:30 -04:00
* Filters the export args .
2013-09-13 21:02:10 -04:00
*
* @ since 3.5 . 0
*
* @ param array $args The arguments to send to the exporter .
*/
2012-11-06 09:51:45 -05:00
$args = apply_filters ( 'export_args' , $args );
2012-11-05 19:06:44 -05:00
2010-12-01 12:21:58 -05:00
export_wp ( $args );
2007-11-15 00:32:33 -05:00
die ();
}
2006-10-25 18:55:05 -04:00
2020-02-06 01:33:11 -05:00
require_once ABSPATH . 'wp-admin/admin-header.php' ;
2010-03-03 11:45:40 -05:00
2013-09-18 22:09:08 -04:00
/**
* Create the date options fields for exporting a given post type .
*
2014-10-31 13:56:22 -04:00
* @ global wpdb $wpdb WordPress database abstraction object .
2019-08-03 21:46:55 -04:00
* @ global WP_Locale $wp_locale WordPress date and time locale object .
2013-09-18 22:09:08 -04:00
*
* @ since 3.1 . 0
*
* @ param string $post_type The post type . Default 'post' .
*/
2011-12-22 07:08:26 -05:00
function export_date_options ( $post_type = 'post' ) {
2010-12-01 12:21:58 -05:00
global $wpdb , $wp_locale ;
2017-11-30 18:11:00 -05:00
$months = $wpdb -> get_results (
$wpdb -> prepare (
"
2010-12-01 12:21:58 -05:00
SELECT DISTINCT YEAR ( post_date ) AS year , MONTH ( post_date ) AS month
FROM $wpdb -> posts
2011-12-22 07:08:26 -05:00
WHERE post_type = % s AND post_status != 'auto-draft'
2010-12-01 12:21:58 -05:00
ORDER BY post_date DESC
2020-05-12 14:32:08 -04:00
" ,
2018-08-16 21:51:36 -04:00
$post_type
2017-11-30 18:11:00 -05:00
)
);
2010-12-01 12:21:58 -05:00
$month_count = count ( $months );
2020-05-12 14:32:08 -04:00
if ( ! $month_count || ( 1 === $month_count && 0 === ( int ) $months [ 0 ] -> month ) ) {
2010-12-01 12:21:58 -05:00
return ;
2017-11-30 18:11:00 -05:00
}
2010-12-01 12:21:58 -05:00
foreach ( $months as $date ) {
2020-05-12 14:32:08 -04:00
if ( 0 === ( int ) $date -> year ) {
2010-12-01 12:21:58 -05:00
continue ;
2017-11-30 18:11:00 -05:00
}
2010-12-01 12:21:58 -05:00
$month = zeroise ( $date -> month , 2 );
2011-05-23 19:33:30 -04:00
echo '<option value="' . $date -> year . '-' . $month . '">' . $wp_locale -> get_month ( $month ) . ' ' . $date -> year . '</option>' ;
2010-05-04 13:31:36 -04:00
}
}
?>
2006-10-25 18:55:05 -04:00
< div class = " wrap " >
2015-06-27 11:41:25 -04:00
< h1 >< ? php echo esc_html ( $title ); ?> </h1>
2008-10-17 16:02:03 -04:00
2017-11-30 18:11:00 -05: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 07:42:04 -04: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-11-30 18:11:00 -05: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 12:21:58 -05:00
2015-09-05 16:09:24 -04:00
< h2 >< ? php _e ( 'Choose what to export' ); ?> </h2>
2015-01-15 23:16:24 -05:00
< form method = " get " id = " export-filters " >
2015-10-20 23:57:24 -04: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 12:10:21 -05:00
< legend class = " screen-reader-text " >
< ? php
/* translators: Hidden accessibility text. */
_e ( 'Content to export' );
?>
</ legend >
2006-10-25 18:55:05 -04:00
< input type = " hidden " name = " download " value = " true " />
2015-10-20 23:57:24 -04: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 14:33:25 -05: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-25 18:55:05 -04:00
2020-02-11 14:35:06 -05:00
< p >< label >< input type = " radio " name = " content " value = " posts " /> < ? php _ex ( 'Posts' , 'post type general name' ); ?> </label></p>
2010-12-01 12:21:58 -05:00
< ul id = " post-filters " class = " export-filters " >
< li >
2015-10-20 23:57:24 -04:00
< label >< span class = " label-responsive " >< ? php _e ( 'Categories:' ); ?> </span>
2017-11-30 18:11:00 -05:00
< ? php wp_dropdown_categories ( array ( 'show_option_all' => __ ( 'All' ) ) ); ?>
2015-10-20 23:57:24 -04:00
</ label >
2010-12-01 12:21:58 -05:00
</ li >
< li >
2015-10-20 23:57:24 -04:00
< label >< span class = " label-responsive " >< ? php _e ( 'Authors:' ); ?> </span>
< ? php
2010-12-15 17:38:07 -05:00
$authors = $wpdb -> get_col ( " SELECT DISTINCT post_author FROM { $wpdb -> posts } WHERE post_type = 'post' " );
2017-11-30 18:11:00 -05:00
wp_dropdown_users (
array (
'include' => $authors ,
'name' => 'post_author' ,
'multi' => true ,
'show_option_all' => __ ( 'All' ),
'show' => 'display_name_with_login' ,
)
);
?>
2015-10-20 23:57:24 -04:00
</ label >
2010-12-01 12:21:58 -05:00
</ li >
< li >
2015-10-20 23:57:24 -04: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 12:10:21 -05:00
< legend class = " screen-reader-text " >
< ? php
/* translators: Hidden accessibility text. */
_e ( 'Date range:' )
?>
</ legend >
2015-10-20 23:57:24 -04: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 12:21:58 -05:00
< ? php export_date_options (); ?>
</ select >
2015-10-20 23:57:24 -04: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 12:21:58 -05:00
< ? php export_date_options (); ?>
</ select >
2015-10-20 23:57:24 -04:00
</ fieldset >
2010-12-01 12:21:58 -05:00
</ li >
< li >
2015-10-20 23:57:24 -04:00
< label for = " post-status " class = " label-responsive " >< ? php _e ( 'Status:' ); ?> </label>
< select name = " post_status " id = " post-status " >
2010-12-01 12:21:58 -05:00
< option value = " 0 " >< ? php _e ( 'All' ); ?> </option>
2017-11-30 18:11:00 -05:00
< ? php
$post_stati = get_post_stati ( array ( 'internal' => false ), 'objects' );
foreach ( $post_stati as $status ) :
2018-08-16 21:51:36 -04:00
?>
2010-12-01 12:21:58 -05:00
< option value = " <?php echo esc_attr( $status->name ); ?> " >< ? php echo esc_html ( $status -> label ); ?> </option>
< ? php endforeach ; ?>
</ select >
</ li >
</ ul >
2006-10-25 18:55:05 -04:00
2010-12-01 12:21:58 -05: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-20 23:57:24 -04:00
< label >< span class = " label-responsive " >< ? php _e ( 'Authors:' ); ?> </span>
< ? php
2010-12-15 17:38:07 -05:00
$authors = $wpdb -> get_col ( " SELECT DISTINCT post_author FROM { $wpdb -> posts } WHERE post_type = 'page' " );
2017-11-30 18:11:00 -05:00
wp_dropdown_users (
array (
'include' => $authors ,
'name' => 'page_author' ,
'multi' => true ,
'show_option_all' => __ ( 'All' ),
'show' => 'display_name_with_login' ,
)
);
?>
2015-10-20 23:57:24 -04:00
</ label >
2010-12-01 12:21:58 -05:00
</ li >
< li >
2015-10-20 23:57:24 -04: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 12:10:21 -05:00
< legend class = " screen-reader-text " >
< ? php
/* translators: Hidden accessibility text. */
_e ( 'Date range:' );
?>
</ legend >
2015-10-20 23:57:24 -04: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 07:08:26 -05:00
< ? php export_date_options ( 'page' ); ?>
2010-12-01 12:21:58 -05:00
</ select >
2015-10-20 23:57:24 -04: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 07:08:26 -05:00
< ? php export_date_options ( 'page' ); ?>
2010-12-01 12:21:58 -05:00
</ select >
2015-10-20 23:57:24 -04:00
</ fieldset >
2010-12-01 12:21:58 -05:00
</ li >
< li >
2015-10-20 23:57:24 -04:00
< label for = " page-status " class = " label-responsive " >< ? php _e ( 'Status:' ); ?> </label>
< select name = " page_status " id = " page-status " >
2010-12-01 12:21:58 -05: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-25 18:55:05 -04:00
2017-11-30 18:11:00 -05:00
< ? php
foreach ( get_post_types (
array (
'_builtin' => false ,
'can_export' => true ,
2018-08-16 21:51:36 -04:00
),
'objects'
2017-11-30 18:11:00 -05:00
) as $post_type ) :
2018-08-16 21:51:36 -04:00
?>
2010-12-01 12:21:58 -05: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-20 23:57:24 -04:00
2015-09-19 12:47:25 -04: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-20 23:57:24 -04: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 12:10:21 -05:00
< legend class = " screen-reader-text " >
< ? php
/* translators: Hidden accessibility text. */
_e ( 'Date range:' );
?>
</ legend >
2015-10-20 23:57:24 -04: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 12:47:25 -04:00
< ? php export_date_options ( 'attachment' ); ?>
</ select >
2015-10-20 23:57:24 -04: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 12:47:25 -04:00
< ? php export_date_options ( 'attachment' ); ?>
</ select >
2015-10-20 23:57:24 -04:00
</ fieldset >
2015-09-19 12:47:25 -04:00
</ li >
</ ul >
2015-10-20 23:57:24 -04:00
</ fieldset >
2013-09-13 21:02:10 -04:00
< ? php
/**
2015-10-20 23:57:24 -04:00
* Fires at the end of the export filters form .
2013-09-13 21:02:10 -04:00
*
* @ since 3.5 . 0
*/
do_action ( 'export_filters' );
?>
2012-11-05 19:06:44 -05:00
2017-11-30 18:11:00 -05:00
< ? php submit_button ( __ ( 'Download Export File' ) ); ?>
2010-12-01 12:21:58 -05:00
</ form >
</ div >
2020-02-06 01:33:11 -05:00
< ? php require_once ABSPATH . 'wp-admin/admin-footer.php' ; ?>