diff --git a/src/wp-admin/export.php b/src/wp-admin/export.php index 46d3dccee2..08979e2df6 100644 --- a/src/wp-admin/export.php +++ b/src/wp-admin/export.php @@ -109,6 +109,16 @@ if ( isset( $_GET['download'] ) ) { require_once ('admin-header.php'); +/** + * Create the date options fields for exporting a given post type. + * + * @global wpdb $wpdb WordPress database object. + * @global WP_Locale $wp_locale Date and Time Locale object. + * + * @since 3.1.0 + * + * @param string $post_type The post type. Default 'post'. + */ function export_date_options( $post_type = 'post' ) { global $wpdb, $wp_locale;