After saving an extension's settings, EE by default redirects you to the Extensions landing page. I want to keep the user in the extension settings after saving but also use EE's flashdata.
The below code is in my save_settings method.
$this->EE->session->set_flashdata('message_success', $this->EE->lang->line('preferences_updated')); $this->EE->functions->redirect(BASE.AMP.'C=addons_extensions'.AMP.'M=extension_settings'.AMP.'file=my_custom_extension');
Does anyone know why set_flashdata does not seem to work after the redirect where in Module settings this does?
I've also looked into this help request: displaying a flash message after redirect