Questions tagged [session-end-hook]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
9
votes
1answer
180 views

Turn off extension in Control Panel

I would like to make sure an extension isn't run, via sessions_end hook, in the control panel. I'm currently doing this like so: if ($this->EE->input->get_post('D') == "cp") { return ...