WordPress hook source
The short answer is: There is no code that’s being excuted The long answer is: You are suppose to define that code in your own plugin space. You add a activated_plugin hook and within the callable function you specify you define the things you want to happen when your plugin is actived, ie: create database, … Read more