Метод |
Описание |
|
__construct ( ) |
Register widget with WordPress. |
|
admin_scripts ( $hook ) |
Enqueue script to improve admin UI |
|
enqueue_scripts ( ) |
Enqueue scripts. |
|
form ( array $instance ) |
Back-end widget form. |
|
get_docs_link ( $hash = '' ) |
Returns a link to the documentation for a feature of this widget on
Jetpack or WordPress.com. |
|
library ( ) |
Enqueue Twitter's widget library. |
|
update ( array $new_instance, array $old_instance ) : array |
Sanitize widget form values as they are saved. |
|
widget ( array $args, array $instance ) |
Front-end display of widget. |
|