<?php
/**
 * Plugin Name: Project Manager
 * Plugin URI: https://wedevs.com/wp-project-manager-pro/
 * Description: WordPress Project Management plugin. Manage your projects and tasks, get things done.
 * Author: weDevs
 * Author URI: https://wedevs.com
 * Version: 4.0.5
 * Text Domain: wedevs-project-manager
 * Domain Path: /languages
 * License: GPL2
 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
 */
// don't call the file directly
if ( ! defined( 'ABSPATH' ) ) {
    exit;
}
// Define version directly to avoid early translation loading from get_plugin_data()
define('PM_VERSION', '4.0.5');

require __DIR__.'/bootstrap/loaders.php';
require __DIR__.'/libs/configurations.php';
require_once __DIR__.'/compatibility-checker.php';
if ( version_compare( phpversion(), '5.6.0', '<' ) ) {
    add_action( 'admin_notices',  'wedevs_pm_php_version_notice'  );
    return;
}

define( 'PM_FILE', __FILE__ );
define( 'PM_BASENAME', plugin_basename(__FILE__) );
define( 'PM_PLUGIN_ASSEST', plugins_url( 'views/assets', __FILE__ ) );

add_action( 'init', 'wedevs_pm_load_plugin_textdomain' );

function wedevs_pm_load_plugin_textdomain() {
    load_plugin_textdomain( 'wedevs-project-manager', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
}

require __DIR__.'/bootstrap/start.php';
