Title: [Plugin: Code Snippets] Suggestion &#8211; Bulk Export to PHP
Last modified: August 20, 2016

---

# [Plugin: Code Snippets] Suggestion – Bulk Export to PHP

 *  Resolved [WebEndev](https://wordpress.org/support/users/munman/)
 * (@munman)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-code-snippets-suggestion-bulk-export-to-php/)
 * The bulk export to XML is a very handy feature.
 * Another very handy feature would be have a bulk export of the snippets into a
   single file, but with non of the XML markup. Make the output ‘usable’ PHP that
   could be cut and paste directly from the output file and used again, without 
   having to remove the snippet, code, name, description markup.
 * This would allow for quick and easy recycling of each snippet, in the event the
   user was not using the Code Snippets plugin on the next site.
 * Thanks for the plugin, it is proving very handy!
 * [http://wordpress.org/extend/plugins/code-snippets/](http://wordpress.org/extend/plugins/code-snippets/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Shea Bunge](https://wordpress.org/support/users/bungeshea/)
 * (@bungeshea)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-code-snippets-suggestion-bulk-export-to-php/#post-2976505)
 * That’s a nice idea, I don’t think that it would be very hard to implement. Maybe
   in a future version of Code Snippets.
 *  Thread Starter [WebEndev](https://wordpress.org/support/users/munman/)
 * (@munman)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-code-snippets-suggestion-bulk-export-to-php/#post-2976602)
 * Great, I’ll be looking for it.
    Thanks Shea 🙂
 *  Plugin Author [Shea Bunge](https://wordpress.org/support/users/bungeshea/)
 * (@bungeshea)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-code-snippets-suggestion-bulk-export-to-php/#post-2976776)
 * This feature landed in version 1.5.
 * You can export snippets to a PHP file by checking the checkboxes of the desired
   snippets and selecting ‘Export to PHP’ from the Bulk Actions drop-down menu.
 * The exported PHP file will contain the snippet’s name and description in multi-
   line PHP comments, and below that the snippet’s code. This process is repeated
   for each snippet you choose to export.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[Plugin: Code Snippets] Suggestion – Bulk Export to PHP’ is closed to
new replies.

 * ![](https://ps.w.org/code-snippets/assets/icon.svg?rev=2148878)
 * [Code Snippets](https://wordpress.org/plugins/code-snippets/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/code-snippets/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/code-snippets/)
 * [Active Topics](https://wordpress.org/support/plugin/code-snippets/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/code-snippets/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/code-snippets/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Shea Bunge](https://wordpress.org/support/users/bungeshea/)
 * Last activity: [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-code-snippets-suggestion-bulk-export-to-php/#post-2976776)
 * Status: resolved