Export media with selected content (by DKZR) source code

By joost de keijzer, on WordPress.org since 2016. 40,000+ active installs.

Browse code Download zip

When selecting one post type in the WordPress export screen, by default the linked media (attachments) are not included. This plugin adds an “Export media with selected content” option. Below is its source code for every one of its 9 releases, what changed in the latest one, and how often it ships.

What changed in 2.1.4

Released Nov 26, 2026, 5 years after 2.1.3

2 files changed since 2.1.3: 2 modified, 0 added, 0 removed.

Compare 2.1.3 with 2.1.4

Release history

9 releases since October 2016
  1. 2.1.4 Nov 26, 2026
  2. 2.1.3 Aug 6, 2021 prevent sql error when ID turns out to be NULL (props donnyoexman)
  3. 2.1.2 Feb 27, 2021 Stupid debug error fix
  4. 2.1.1 Feb 26, 2021 Added php 7.0 requirement to plugin header
  5. 2.1 Feb 26, 2021 Performance: split queries & prepare attachments_map (props Albitos)
Full Export media with selected content (by DKZR) changelog with diffs

Source of 2.1.4

3 files
Browse all Export media with selected content (by DKZR) 2.1.4 files Browse trunk