1
0
Fork 0
mirror of https://github.com/inretio/WordPress-Plugin-Boilerplate synced 2024-05-11 07:42:10 +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'; 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 * @since 1.0.0
*/ */
@ -63,5 +65,4 @@ function run_plugin_name() {
$plugin->run(); $plugin->run();
} }
run_plugin_name(); run_plugin_name();