Return to Snippet

Revision: 5568
at March 17, 2008 00:15 by webStruck_


Initial Code
function myplugin_widget_init()
{
    // Register myplugin_widget::display() and myplugin_widget::control()
}

function myplugin_widget_display()
{
    // Echo content
}

function myplugin_widget_control()
{
    // Echo administration control
}

Initial URL
http://funcdoc.wordpress.com/2008/02/04/writing-wordpress-widget-best-practices/

Initial Description

                                

Initial Title
Widget Best Practice: Using Functions

Initial Tags
php, plugin, wordpress, best

Initial Language
PHP