helpers
3 years ago
routes
2 years ago
src
2 years ago
config.php
2 years ago
helpers.php
3 years ago
hooks.php
3 years ago
helpers.php
16 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Load helpers. |
| 4 | * Define any generic functions in a helper file and then require that helper file here. |
| 5 | * |
| 6 | * @package SureCart |
| 7 | */ |
| 8 | |
| 9 | if ( ! defined( 'ABSPATH' ) ) { |
| 10 | exit; |
| 11 | } |
| 12 | |
| 13 | // load route helper. |
| 14 | require_once __DIR__ . DIRECTORY_SEPARATOR . 'helpers' . DIRECTORY_SEPARATOR . 'route-helper.php'; |
| 15 | require_once __DIR__ . DIRECTORY_SEPARATOR . 'helpers' . DIRECTORY_SEPARATOR . 'template-helpers.php'; |
| 16 |