Create New Item
×
Item Type
File
Folder
Item Name
×
Search file in folder and subfolders...
File Manager
/
wp-content
/
plugins
/
woo-license-keys
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php require_once __DIR__ . '/app/Boot/bootstrap.php'; register_activation_hook(__FILE__, [&$licensekeys, '_c_void_AccountController@flush']); if (!function_exists('register_type_license_key')) { function register_type_license_key() { global $woocommerce; if (isset($woocommerce)) { require_once __DIR__ . '/app/Global/WC_Product_License_Key.php'; } else { add_action('admin_notices', function () { global $licensekeys; $licensekeys->view('admin.notices.require-woocommerce'); }); } } add_action('init', 'register_type_license_key'); }