Hi,
I'm developing my first plugin. I created some code to test and verify how it works and now I'm putting all WP specifications. My question, what I can't understand is: What does register_activation_hook() function really work for?
Because if I don't put this in my code the activation works well. If I throw just register_activation_hook( param, function_here ) directly, some errors appear (I'm debugging) in WP screen. I'd like, if possible, someone give me some real (as real as possible) and simple (as short as possible) example of this acti/deact_hook().
I read codex but I think there is no good explanation about that.
Thanks