I’m creating a plugin for WordPress. But
I can’t enter the method onUnload
.
I tried to include it in the body tag, but doesn’t work.
Is there a way to use this method?
I’m creating a plugin for WordPress. But
I can’t enter the method onUnload
.
I tried to include it in the body tag, but doesn’t work.
Is there a way to use this method?
You must be logged in to post a comment.
try this:
Solution by OP.