Noptin_Abstract_Integration::maybe_save_default_value( string $option_name, mixed $value )

Saves a default value.


Parameters Parameters

$option_name

(string) (Required) The unique option name.

$value

(mixed) (Required) The option value.


Top ↑

Source Source

File: includes/integrations/class-noptin-abstract-integration.php

	public function maybe_save_default_value( $option_name, $value ) {
		$saved = get_noptin_option( $option_name );
		if ( is_null( $saved ) ) {
			update_noptin_option( $option_name, $value );
		}
	}


Top ↑

Changelog Changelog

Changelog
VersionDescription
1.2.6Introduced.

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