Yey it works!!!!!!
It was as simple as calling these functions as soon as the plugin initialised instead of when trying to fire an event.
Thanks Budman!
It was as simple as calling these functions as soon as the plugin initialised instead of when trying to fire an event.
Thanks Budman!