init()
init()
Hide or show widgets conditionally.
widget_update( $instance, array $new_instance, array $old_instance) : array
On an AJAX update of the widget settings, process the display conditions.
$instance | ||
array | $new_instance | New settings for this instance as input by the user. |
array | $old_instance | Old settings for this instance. |
Modified settings.