Skip to content

Instantly share code, notes, and snippets.

Simon Prosser Pross

Block or report user

Report or block Pross

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View wp-query-ref.php
// This gist is now maintained on github at
* WordPress Query Comprehensive Reference
* Compiled by luetkemj -
* Source:
markjaquith / .all
Last active Oct 10, 2018
Bash stuff
View .all
for f in ~/Dropbox/bash/*; do source $f; done
markjaquith / activate-deactivate-uninstall-example.php
Created Mar 6, 2011
Example code for doing activate/deactivate/uninstall hooks in a WordPress plugin
View activate-deactivate-uninstall-example.php
// Change /*CUSTOMIZE_THIS*/ to a unique name (two places). Go ahead, make it long.
// Like, your initials, and your full plugin name.
// e.g. MTJ_Some_Awesome_Plugin_Controller
class /*CUSTOMIZE_THIS*/_Controller {
function init() {
You can’t perform that action at this time.