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

Saves widget settings


Parameters Parameters

$new_instance

(array) (Required) new instance options.

$old_instance

(array) (Required) old instance options.


Top ↑

Return Return

(array)


Top ↑

Source Source

File: includes/class-noptin-sidebar.php

	public function update( $new_instance, $old_instance ) {
		return array(
			'form' => ( ! empty( $new_instance['form'] ) ) ? absint( $new_instance['form'] ) : '',
		);

	}

Top ↑

Changelog Changelog

Changelog
VersionDescription
1.0.5Introduced.

Top ↑

User Contributed Notes User Contributed Notes

30 day money back guarantee
Safe & Secure online payment
Custom CSS Slide Example
Custom Animation Example
Default Animation