Skip to content

Instantly share code, notes, and snippets.

View sabuein's full-sized avatar
🏠
Working from home

Salaheddin AbuEin sabuein

🏠
Working from home
View GitHub Profile
@sabuein
sabuein / wordpress_export_to_json.php
Created May 9, 2023 20:27 — forked from jsnelders/wordpress_export_to_json.php
Export all core WordPress data (posts, pages, attachments, comments, tags, categories and users) to a JSON formatted file.
<?php
/**
* Plugin Name: WordPress Export to JSON
* Plugin URI: https://jsnelders.com/
* Description: Export all WordPress posts, pages, comments, tags, commments and users to a JSON file.
* Author: Jason Snelders
* Author URI: http://jsnelders.com
* Version: 2020-01-30.1
**/