BP_Nouveau_Object_Nav_Widget::update( array $new_instance, array $old_instance )
Update the new support topic widget options (title)
Description
Parameters
- $new_instance
-
(Required) The new instance options
- $old_instance
-
(Required) The old instance options
Return
(array) the instance
Source
File: bp-templates/bp-nouveau/includes/classes.php
public function update( $new_instance, $old_instance ) { $instance = $old_instance; $instance['bp_nouveau_widget_title'] = (bool) $new_instance['bp_nouveau_widget_title']; return $instance; }
Changelog
Version | Description |
---|---|
BuddyPress 3.0.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.