BP_Nouveau_Object_Nav_Widget::update( array $new_instance, array $old_instance )

Update the new support topic widget options (title)


Parameters Parameters

$new_instance

(array) (Required) The new instance options

$old_instance

(array) (Required) The old instance options


Top ↑

Return Return

(array) the instance


Source 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;
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.