User registration plugin listening How can I listen in my plugin to see if

craft()-&gt;on('users.saveUser', function(Event $event) {


onsaveUser came from front end creation or control panel ?
You can use the request service. craft()->request->isCpRequest() or craft()->request ->isSiteRequest()

https://craftcms.com/classreference/services/HttpRequestService#isCpRequest-detail