diff --git src/wp-admin/includes/export.php src/wp-admin/includes/export.php
index 397e9e7..f1027f2 100644
|
|
function export_wp( $args = array() ) { |
86 | 86 | // Grab a snapshot of post IDs, just in case it changes during the export. |
87 | 87 | $post_ids = $wpdb->get_col( "SELECT ID FROM {$wpdb->posts} $join WHERE $where" ); |
88 | 88 | |
| 89 | /** |
| 90 | * Filter exported post IDs. |
| 91 | * |
| 92 | * @since x.x.x |
| 93 | * |
| 94 | * @param array Array of post IDs included in the export. |
| 95 | */ |
| 96 | $post_ids = apply_filters( 'export_post_ids', $post_ids, $args ); |
| 97 | |
89 | 98 | /* |
90 | 99 | * Get the requested terms ready, empty unless posts filtered by category |
91 | 100 | * or all content. |