LearnDash_Settings_Section::section_pre_update_option

LearnDash_Settings_Section::section_pre_update_option( array $value,  array $old_value,  string $section_key = '' )

Intercept the WP options save logic and check that we have a valid nonce.


Description #


Parameters #

$value

(array) (Required) Array of section fields values.

$old_value

(array) (Required) Array of old values.

$section_key

(string) (Optional) Section option key should match $this->setting_option_key.

Default value: ''


Source #

File: includes/settings/class-ld-settings-sections.php


Changelog #

Changelog
Version Description
3.0 Introduced.