Свойство | Type | Description | |
---|---|---|---|
$self | string | The widget class name |
Méthode | 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 | |
Résultat | void |
public flush_widget_cache ( ) : void | ||
Résultat | void |