BBP_Login_Widget::update( array $new_instance, array $old_instance )
Update the login widget options
Description Description
Parameters Parameters
- $new_instance
-
(Required) The new instance options
- $old_instance
-
(Required) The old instance options
Source Source
File: includes/common/widgets.php
public function update( $new_instance, $old_instance ) { $instance = $old_instance; $instance['title'] = strip_tags( $new_instance['title'] ); $instance['register'] = esc_url_raw( $new_instance['register'] ); $instance['lostpass'] = esc_url_raw( $new_instance['lostpass'] ); return $instance; }
Changelog Changelog
Version | Description |
---|---|
2.0.0 | Introduced. |