How to call pre dispatch event before all the front-side pages and it's action.
Let's say Before front side index page or product detail page is load. i want a event before all the front-end action.
Even before Index page load.
How to achieve that ?
I want to call my dispatch event before all the front end actions, whenever any front action calls - it should call my dispatch event first.
Eg- Before Index page, CMS pages, every single front-end pages.