Skip to content

Instantly share code, notes, and snippets.

View Firestorm-Graphics's full-sized avatar

Firestorm Graphics Firestorm-Graphics

View GitHub Profile
@Firestorm-Graphics
Firestorm-Graphics / options-backup.php
Last active December 17, 2015 00:58
Back up page add on for devins Options Framework, Inline styles added for portability, best solution is to replace them with a new css file and enqueue it.
<?php ob_start();
if(! class_exists('PUR_Backup')) {
class PUR_Backup {
public function __construct () {
if ( current_user_can( 'edit_theme_options' ) ) {
add_action( 'admin_menu', array(&$this, 'add_page'));
}
/**
* plugin.js
*
* Copyright, Moxiecode Systems AB
* Released under LGPL License.
*
* License: http://www.tinymce.com/license
* Contributing: http://www.tinymce.com/contributing
*/
@Firestorm-Graphics
Firestorm-Graphics / Shuttle_Dumper.php
Last active July 9, 2017 16:35
userspice 4 backup
<?php
//bold("<br><br>Shuttle Dumper included");
/**
* Abstract dump file: provides common interface for writing
* data to dump files.
*/
abstract class Shuttle_Dump_File {
/**
* File Handle
*/