Created
October 17, 2012 13:29
-
-
Save syamilmj/3905528 to your computer and use it in GitHub Desktop.
AQ_Block
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class My_Custom_Block extends AQ_Block { | |
function __construct() { | |
// block actual processes | |
} | |
function form( $instance ) { | |
// outputs the options form on admin | |
} | |
function update( $new_instance, $old_instance ) { | |
// processes block options to be saved | |
} | |
function block( $instance ) { | |
// outputs the content of the block | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment