-
-
Save tommcfarlin/ea73655b0a022d65317529930cbb0cad to your computer and use it in GitHub Desktop.
[WordPress] WordPress Widgets: An Object-Oriented Approach to Development
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
<?php | |
class AcmeWidget extends WP_Widget | |
{ | |
public function __construct() | |
{ | |
} | |
public function widget($args, $instance) | |
{ | |
} | |
public function form($instance) | |
{ | |
} | |
public function update($newInstance, $oldInstance) | |
{ | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment