YCWP_QR_Me_Widget __construct(
)
|
|
Invoke WP_Widget::__construct() and QRCode::__construct().
API Tags:
Information Tags:
void form(
array
$instance
)
|
|
Echo the settings update form
Parameters:
array |
$instance: |
Current settings |
API Tags:
Information Tags:
array update(
array
$new_instance, array
$old_instance
)
|
|
Update a particular instance.
This function should check that $new_instance is set correctly. The newly calculated value of $instance should be returned. If "false" is returned, the instance won't be saved/updated.
Parameters:
array |
$new_instance: |
New settings for this instance as input by the user via form() |
array |
$old_instance: |
Old settings for this instance |
API Tags:
Return: | Settings to save or bool false to cancel saving |
Access: | public |
Information Tags:
void widget(
array
$args, array
$instance
)
|
|
Echo the widget content.
Parameters:
array |
$args: |
Display arguments including before_title, after_title, before_widget, and after_widget. |
array |
$instance: |
The settings for the particular instance of the widget |
API Tags:
Information Tags: