프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$self | string | The widget class name |
메소드 | 설명 | |
---|---|---|
__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 | |
리턴 | void |