Method | Description | |
---|---|---|
disable ( ) | ||
enable ( ) | ||
widget_display_callback ( array $instance, object $widget, array $args ) : boolean | Set up and echo widget cache | |
widget_update_callback ( array $instance ) : array | Adds timestamp to widget instance to use as salt. |
Method | Description | |
---|---|---|
callback ( string $name, array $args ) : string | Generate widget output, capture with buffer and timestamp. |
public widget_update_callback ( array $instance ) : array | ||
$instance | array | Widget instance to modify. |
return | array |