Function vanilla_widgets_get_class_declaration
Creates and returns the proper declaration of a widget class that extends Vanilla_Widget.
License:
GPLv3
Author: Nevma, http://www.nevma.gr, info@nevma.gr
Located at base/vanilla-widgets.php
Author: Nevma, http://www.nevma.gr, info@nevma.gr
Located at base/vanilla-widgets.php
Parameters summary
string |
$class_name |
The class name. |
string |
$callback |
A valid PHP callback. |
Return value summary
string
|
The class declaration. |