check_on_activate(); } register_activation_hook( __FILE__, 'modula_activate' ); /** * The core plugin class that is used to define internationalization, * admin-specific hooks, and public-facing site hooks. */ require plugin_dir_path( __FILE__ ) . 'includes/class-modula.php'; /** * Begins execution of the plugin. * * 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 2.0.0 */ function modula_run() { // Our core class $plugin = new Modula(); } modula_run();