LearnDash_Settings_Groups_Membership::section_pre_update_option

LearnDash_Settings_Groups_Membership::section_pre_update_option( $new_values = '',  $old_values = '',  $setting_option_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) (Required) Section option key should match $this->setting_option_key.


Source #

File: includes/settings/settings-sections/class-ld-settings-section-groups-membership.php