bootstrap.php in Plugin Groups 3.0.0, at bootstrap.php
| 1 | <?php |
| 2 | /** |
| 3 | * Plugin Groups Bootstrap. |
| 4 | * |
| 5 | * @package plugin_groups |
| 6 | * @author David Cramer |
| 7 | * @license GPL-2.0+ |
| 8 | * @copyright 2021/08/15 David Cramer |
| 9 | */ |
| 10 | |
| 11 | namespace Plugin_Groups; |
| 12 | |
| 13 | /** |
| 14 | * Activate the plugin core. |
| 15 | */ |
| 16 | function activate_plugin_groups() { |
| 17 | // Include the core class. |
| 18 | include_once PLGGRP_PATH . 'classes/class-plugin-groups.php'; |
| 19 | Plugin_Groups::get_instance(); |
| 20 | } |
| 21 | |
| 22 | add_action( 'init', 'Plugin_Groups\activate_plugin_groups' ); |
| 23 |