Created
December 20, 2012 01:53
-
-
Save aprakasa/4342365 to your computer and use it in GitHub Desktop.
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
/** | |
* Aqua Page Builder block API | |
* | |
* @link https://github.com/sy4mil/Aqua-Page-Builder/wiki/Block-API | |
*/ | |
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