Property | Type | Description | |
---|---|---|---|
$self | string | The widget class name |
Method | Description | |
---|---|---|
__construct ( ) | Instantiate the class | |
admin_widget_scripts ( string $hook ) : void | Load widget assets only on the widget page | |
flush_widget_cache ( ) : void | Flush widget cache | |
form ( array $instance ) : string | Output the settings update form. | |
update ( array $new_instance, array $old_instance ) : array | Update the widget | |
widget ( array $args, array $instance ) | Echo the widget content. | |
widget_init ( ) : void | Register the widget |
public admin_widget_scripts ( string $hook ) : void | ||
$hook | string | |
return | void |
public flush_widget_cache ( ) : void | ||
return | void |