<?php
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
    exit;
}

// This is where you set various options affecting the plugin.

// Path Constants.
define( 'WWP_PLUGIN_BASE_PATH', basename( __DIR__ ) . '/' );
define( 'WWP_PLUGIN_PATH', plugin_dir_path( __FILE__ ) );
define( 'WWP_PLUGIN_URL', plugins_url() . '/woocommerce-wholesale-prices/' );
define( 'WWP_CSS_PATH', WWP_PLUGIN_PATH . 'css/' );
define( 'WWP_CSS_URL', WWP_PLUGIN_URL . 'css/' );
define( 'WWP_IMAGES_PATH', WWP_PLUGIN_PATH . 'images/' );
define( 'WWP_IMAGES_URL', WWP_PLUGIN_URL . 'images/' );
define( 'WWP_INCLUDES_PATH', WWP_PLUGIN_PATH . 'includes/' );
define( 'WWP_INCLUDES_URL', WWP_PLUGIN_URL . 'includes/' );
define( 'WWP_JS_PATH', WWP_PLUGIN_PATH . 'js/' );
define( 'WWP_JS_URL', WWP_PLUGIN_URL . 'js/' );
define( 'WWP_LANGUAGES_PATH', WWP_PLUGIN_PATH . 'languages/' );
define( 'WWP_LANGUAGES_URL', WWP_PLUGIN_URL . 'languages/' );
define( 'WWP_LOGS_PATH', WWP_PLUGIN_PATH . 'logs/' );
define( 'WWP_LOGS_URL', WWP_PLUGIN_URL . 'logs/' );
define( 'WWP_VIEWS_PATH', WWP_PLUGIN_PATH . 'views/' );
define( 'WWP_VIEWS_URL', WWP_PLUGIN_URL . 'views/' );

// Cron.
define( 'WWP_CRON_REQUEST_REVIEW', 'wwp_cron_request_review' );
define( 'WWP_SHOW_REQUEST_REVIEW', 'wwp_show_request_review' );
define( 'WWP_REVIEW_REQUEST_RESPONSE', 'wwp_review_request_response' );

define( 'WWP_CRON_INSTALL_ACFWF_NOTICE', 'wwp_cron_install_acfwf_notice' );
define( 'WWP_SHOW_INSTALL_ACFWF_NOTICE', 'wwp_show_install_acfwf_notice' );

define( 'WWP_SHOW_CART_CHECKOUT_BLOCKS_INCOMPATIBILITY_NOTICE', 'wwp_show_cart_checkout_blocks_incompatibility_notice' );

// Options.
define( 'WWP_OPTIONS_REGISTERED_CUSTOM_ROLES', 'wwp_options_registered_custom_roles' );

if ( ! defined( 'WWS_LICENSE_DATA' ) ) {
    define( 'WWS_LICENSE_DATA', 'wws_license_data' );
}

if ( ! defined( 'WWP_ENABLE_SUBRESOURCE_INTEGRITY_CHECK' ) ) {
    /**
     * Disable subresource integrity check by default.
     */
    define( 'WWP_ENABLE_SUBRESOURCE_INTEGRITY_CHECK', false );
}
