Title: Export Post Status
Last modified: April 14, 2021

---

# Export Post Status

 *  Resolved [cciwdata](https://wordpress.org/support/users/cciwdata/)
 * (@cciwdata)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/export-post-status/)
 * Could you add post status to export.
 * The additional function needed might look like this:
 *     ```
       if (eau_is_checked($additional_data, 'post_status')) {
   
       while ($posts_query->have_posts()):
   
           $html['post_status'][$counter] = (isset($html['post_status'][$counter]) ? "" : null);
   
           $posts_query->the_post();
           $html['post_status'][$counter] .= get_post_status() . $line_break;
           $counter++;
   
       endwhile;
   
       $counter = 0;
   
       }
       ```
   
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fexport-post-status%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Atlas Gondal](https://wordpress.org/support/users/atlas_gondal/)
 * (@atlas_gondal)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/export-post-status/#post-14326021)
 * Hi there,
 * Thanks for your suggestion and code as well. 🙂
 * Hopefully, this feature would be considered in the next release.
 * Thanks

Viewing 1 replies (of 1 total)

The topic ‘Export Post Status’ is closed to new replies.

 * ![](https://ps.w.org/export-all-urls/assets/icon-256x256.png?rev=1661202)
 * [Export All URLs](https://wordpress.org/plugins/export-all-urls/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/export-all-urls/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/export-all-urls/)
 * [Active Topics](https://wordpress.org/support/plugin/export-all-urls/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/export-all-urls/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/export-all-urls/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Atlas Gondal](https://wordpress.org/support/users/atlas_gondal/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/export-post-status/#post-14326021)
 * Status: resolved