/ Published in: PHP

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
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 }
URL: http://funcdoc.wordpress.com/2008/02/04/writing-wordpress-widget-best-practices/
Comments
