WPDK
1.5.0
WordPress Development Kit
|
Public Member Functions | |
__construct ($id_base, $name, $widget_options=array(), $control_options=array()) | |
Construct. More... | |
admin_print_styles () | |
Admin widget head page. More... | |
willWidgetsHeadAdminPage () | |
Widgets head admin page. More... | |
willWidgetsAdminPage () | |
Widgets admin page. More... | |
Widget model class
Definition at line 13 of file wpdk-widget.php.
__construct | ( | $id_base, | |
$name, | |||
$widget_options = array() , |
|||
$control_options = array() |
|||
) |
Construct.
Create an instance of WPDKWidget class
string | $id_base | Base ID for the widget, lower case, if left empty a portion of the widget's class name will be used. Has to be unique. |
string | $name | Name for the widget displayed on the configuration page. |
array | $widget_options | Optional. Passed to wp_register_sidebar_widget()
|
array | $control_options | Optional. Passed to wp_register_widget_control()
|
Definition at line 34 of file wpdk-widget.php.
admin_print_styles | ( | ) |
willWidgetsAdminPage | ( | ) |
Widgets admin page.
Fires before the Widgets administration page content loads
Definition at line 104 of file wpdk-widget.php.
willWidgetsHeadAdminPage | ( | ) |
Widgets head admin page.
This delegate action hook is called in the head of Widgets admin page
Definition at line 94 of file wpdk-widget.php.