Frontend.php in Better Payment – Instant Payments, Donations, Fundraising with Subscriptions & More trunk, at includes/Frontend.php
| 1 | <?php |
| 2 | |
| 3 | namespace Better_Payment\Lite; |
| 4 | |
| 5 | use Better_Payment\Lite\Admin\Menu; |
| 6 | |
| 7 | /** |
| 8 | * Exit if accessed directly |
| 9 | */ |
| 10 | if (!defined('ABSPATH')) { |
| 11 | exit; |
| 12 | } |
| 13 | |
| 14 | /** |
| 15 | * Frontend handler class |
| 16 | * |
| 17 | * @since 0.0.1 |
| 18 | */ |
| 19 | class Frontend extends Controller{ |
| 20 | |
| 21 | /** |
| 22 | * Initialize the class |
| 23 | * |
| 24 | * @since 0.0.1 |
| 25 | */ |
| 26 | public function __construct() { |
| 27 | // new Frontend\Shortcode(); |
| 28 | $menuObj = new Menu(); |
| 29 | $menuObj->init('frontend'); |
| 30 | } |
| 31 | } |
| 32 |