Skip to content

Instantly share code, notes, and snippets.

@stephenh1988
stephenh1988 / cron-list.php
Created October 19, 2012 18:53 — forked from franz-josef-kaiser/cron-list.php
Plugin: List wp cron jobs in wp_footer
<?php
! defined( 'ABSPATH' ) AND exit;
/*
Plugin Name: WP Cron Jobs List
Plugin URI: https://github.com/franz-josef-kaiser
Description: List WordPress internal cron jobs (array data) after the footer. Based on Kaiser's original plug-in https://gist.github.com/987128
Author: Franz Josef Kaiser, Stephen Harris
Author URI: https://github.com/franz-josef-kaiser
Version: 0.3
License: MIT
@stephenh1988
stephenh1988 / lang_change_button.php
Created July 7, 2012 11:51 — forked from franz-josef-kaiser/lang_change_button.md
Change the language by the click of a button (link in the admin bar).
<?php
! defined( 'ABSPATH' ) AND exit;
/*
Plugin Name: User Language Switcher
Plugin URI: http://example.com
Description: Change the language per user, by the click of a button
Author: Stephen Harris
Author URI: http://example.com
Contributors: Franz Josef Kaiser
Version: 0.2
@stephenh1988
stephenh1988 / toolbar-hooks.php
Created June 19, 2012 17:13 — forked from thefuxia/toolbar-hooks.php
T5 Toolbar hooks: Adds a toolbar item with the current page hooks.
<?php # -*- coding: utf-8 -*-
/**
* Plugin Name: T5 Toolbar hooks
* Description: Adds a toolbar item with the current page hooks.
* Version: 2012.06.19
* Author: Thomas Scholz <info@toscho.de>
* Author URI: http://toscho.de
* License: MIT
* License URI: http://www.opensource.org/licenses/mit-license.php
*/
@stephenh1988
stephenh1988 / inspect_hooks.php
Created March 29, 2012 15:08 — forked from franz-josef-kaiser/inspect_hooks.php
Inspect hooks in WP by adding &debug=true&hook=my_hook_name to the request URl
<?php
/**
* Plugin Name: Hook Debug Output
* Plugin URI: http://unserkaiser.com
* Description: Debug Hooked filter callback functions with adding <code>?debug=secret&hook=your_hook_name</code> to the URl
* Version: 0.1
* Author: Stephen Harris, Franz Josef Kaiser
* Author URI: http://unserkaiser.com
*/
// Prevent loading this file directly - Busted!