LLMS_Admin_Settings::save()
Save method. Saves all fields on current tab
Return Return
(void)
Source Source
File: includes/admin/class.llms.admin.settings.php
public static function save() { global $current_tab; if ( isset( $_POST['_wpnonce'] ) && ! llms_verify_nonce( '_wpnonce', 'lifterlms-settings' ) ) { die( __( 'Whoa! something went wrong there!. Please refresh the page and retry.', 'lifterlms' ) ); } do_action( 'lifterlms_settings_save_' . $current_tab ); do_action( 'lifterlms_update_options_' . $current_tab ); do_action( 'lifterlms_update_options' ); self::set_message( __( 'Your settings have been saved.', 'lifterlms' ) ); do_action( 'lifterlms_settings_saved' ); do_action( 'lifterlms_settings_saved_' . $current_tab ); }
Expand full source code Collapse full source code View on GitHub