The boilerplate is meant to be used as Github repository, so the directory contains files found Github repos. Its structure follows the WordPress repository, and you can check in this folder to SVN plugin repo. By default, it contains the folder, and the folder, which contains the code for the plugin.. The result of this is that if you symlink plugin from anywhere on your system to your WordPress directory, it will work just fine. The second is the name of the folder you want to link it to when you are already in the directory of your WordPress installation.. The parameter is the name of the hook, the second is reference to the public or admin object. By asking you to write public, It splits all your code in the same way-facing code in the folder and admin-facing code in the admin folder.. WordPress Plugin Boilerplate expects it to be defined within My Awesome Plugin Public class which is in the folder. TGM is single file named class-tgm-plugin-activation php that should be included in the class-my-awesome-plugin php file, within the load dependencies method require once plugin dir path ) 'includes class-tgm-plugin-activation php. While the use of WordPress Plugin Boilerplate wo not slow down your plugin it does clog up the view it might be time to build feature request system to help manage your product...
Read more