helpers
1 year ago
routes
1 year ago
src
1 year ago
config.php
1 year ago
helpers.php
1 year ago
hooks.php
1 year ago
helpers.php
22 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 | require_once __DIR__ . DIRECTORY_SEPARATOR . 'helpers' . DIRECTORY_SEPARATOR . 'block-helpers.php'; |
| 17 | require_once __DIR__ . DIRECTORY_SEPARATOR . 'helpers' . DIRECTORY_SEPARATOR . 'block-style-helpers.php'; |
| 18 | require_once __DIR__ . DIRECTORY_SEPARATOR . 'helpers' . DIRECTORY_SEPARATOR . 'state-helpers.php'; |
| 19 | require_once __DIR__ . DIRECTORY_SEPARATOR . 'helpers' . DIRECTORY_SEPARATOR . 'product-helpers.php'; |
| 20 | require_once __DIR__ . DIRECTORY_SEPARATOR . 'helpers' . DIRECTORY_SEPARATOR . 'collection-helpers.php'; |
| 21 | require_once __DIR__ . DIRECTORY_SEPARATOR . 'helpers' . DIRECTORY_SEPARATOR . 'kses-helpers.php'; |
| 22 |