/** * Generates options page for specific optin ID * @return string */ function reset_options_page() { wp_verify_nonce($_POST['reset_options_nonce'], 'reset_options'); $optin_id = !empty($_POST['reset_optin_id']) ? sanitize_text_field($_POST['reset_optin_id']) : $this->generate_optin_id(); $additional_options = ''; ET_Bloom::generate_options_page($optin_id); die; }