1
0
Fork 0
mirror of https://github.com/inretio/WordPress-Plugin-Boilerplate synced 2024-04-28 01:13:15 +03:00

Updating code comments for require and function

Fixes #192
This commit is contained in:
Tom McFarlin 2014-07-30 15:23:18 -04:00
parent 57205587af
commit efa4d08df3

View file

@ -51,9 +51,11 @@ register_activation_hook( __FILE__, array( 'Plugin_Name_Deactivator', 'deactivat
require_once plugin_dir_path( __FILE__ ) . 'includes/class-plugin-name.php';
/**
* Short description. (use period)
* Begins execution of the plugin.
*
* Long description.
* Since everything within the plugin is registered via hooks,
* then kicking off the plugin from this point in the file does
* not affect the page life cycle.
*
* @since 1.0.0
*/
@ -63,5 +65,4 @@ function run_plugin_name() {
$plugin->run();
}
run_plugin_name();