| 1 |
<?php |
| 2 |
/** |
| 3 |
* Plugin Name: HivePress |
| 4 |
* Plugin URI: https://hivepress.io/ |
| 5 |
* Description: Multipurpose directory, listing & classifieds plugin. |
| 6 |
* Requires at least: 5.0 |
| 7 |
* Requires PHP: 7.4 |
| 8 |
* Version: 1.7.29 |
| 9 |
* Author: HivePress |
| 10 |
* Author URI: https://hivepress.io/ |
| 11 |
* Text Domain: hivepress |
| 12 |
* Domain Path: /languages/ |
| 13 |
* |
| 14 |
* @package HivePress |
| 15 |
*/ |
| 16 |
|
| 17 |
// Exit if accessed directly. |
| 18 |
defined( 'ABSPATH' ) || exit; |
| 19 |
|
| 20 |
// Define the core file. |
| 21 |
if ( ! defined( 'HP_FILE' ) ) { |
| 22 |
define( 'HP_FILE', __FILE__ ); |
| 23 |
} |
| 24 |
|
| 25 |
// Include the core class. |
| 26 |
require_once __DIR__ . '/includes/class-core.php'; |
| 27 |
|
| 28 |
/** |
| 29 |
* Returns HivePress core instance. |
| 30 |
* |
| 31 |
* @return HivePress\Core |
| 32 |
*/ |
| 33 |
function hivepress() { |
| 34 |
return HivePress\Core::instance(); |
| 35 |
} |
| 36 |
|
| 37 |
// Initialize HivePress. |
| 38 |
hivepress(); |
| 39 |
|