*/
// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) die('
Direct access to this file do not allow!
');
if ( ! defined( 'OPSD_VERSION_NUM' ) ) define( 'OPSD_VERSION_NUM', '1.2.2' );
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// PRIMARY URL CONSTANTS //////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// ..\home\siteurl\www\wp-content\plugins\plugin-name\opsd-item.php
if ( ! defined( 'OPSD_FILE' ) ) define( 'OPSD_FILE', __FILE__ );
// opsd-item.php
if ( ! defined('OPSD_PLUGIN_FILENAME' ) ) define('OPSD_PLUGIN_FILENAME', basename( __FILE__ ) );
// plugin-name
if ( ! defined('OPSD_PLUGIN_DIRNAME' ) ) define('OPSD_PLUGIN_DIRNAME', plugin_basename( dirname( __FILE__ ) ) );
// ..\home\siteurl\www\wp-content\plugins\plugin-name
if ( ! defined('OPSD_PLUGIN_DIR' ) ) define('OPSD_PLUGIN_DIR', untrailingslashit( plugin_dir_path( OPSD_FILE ) ) );
// http: //website.com/wp-content/plugins/plugin-name
if ( ! defined('OPSD_PLUGIN_URL' ) ) define('OPSD_PLUGIN_URL', untrailingslashit( plugins_url( '', OPSD_FILE ) ) );
require_once OPSD_PLUGIN_DIR . '/core/opsd.php';
/**
* 1) Rename all files in plugin directory starting from opsd -> prefix
*
* 2) Replace Instruction:
*
, 'secure-downloads') -> , 'pluginnamelocale')
_opsd_ -> _bk_ (...) in get_opsd_option ....
OPSD -> PREFIX
opsd -> prefix
securedownloads -> booking ???
Secure Downloads -> NEW_PLUGIN_NAME
*
*/