Skip to content

Instantly share code, notes, and snippets.

@tomjn tomjn/gist:7b558c461bbfd0cd02b3 Secret
Created Aug 20, 2013

Embed
What would you like to do?
<?php
class IHook_Object {
function __construct( $hook ){
add_action( $hook, array( $this, 'run_hook' ) );
}
public abstract function run_hook();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.