Skip to content

Instantly share code, notes, and snippets.

@tommcfarlin
Created November 7, 2018 15:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tommcfarlin/ea73655b0a022d65317529930cbb0cad to your computer and use it in GitHub Desktop.
Save tommcfarlin/ea73655b0a022d65317529930cbb0cad to your computer and use it in GitHub Desktop.
[WordPress] WordPress Widgets: An Object-Oriented Approach to Development
<?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