Property | Type | Description | |
---|---|---|---|
$instance |
Method | Description | |
---|---|---|
__construct ( ) | Register widget with WordPress. | |
enqueue_scripts ( ) | Enqueue frontend JS scripts. | |
form ( array $instance ) | Widget form in the dashboard. | |
update ( array $new_instance, array $old_instance ) : array | Sanitize widget form values as they are saved. | |
widget ( array $args, array $instance ) | Display the Widget. |