' . esc_html__( 'Another copy of Labelwise is already active, so this one is idle. Please deactivate one of the two copies on the Plugins screen.', 'labelwise' ) . '

'; } ); return; } define( 'LABELWISE_VERSION', '0.1.4' ); define( 'LABELWISE_FILE', __FILE__ ); define( 'LABELWISE_DIR', plugin_dir_path( __FILE__ ) ); define( 'LABELWISE_URL', plugin_dir_url( __FILE__ ) ); require_once LABELWISE_DIR . 'includes/licensing.php'; require_once LABELWISE_DIR . 'includes/class-labelwise.php'; require_once LABELWISE_DIR . 'includes/class-labelwise-admin.php'; /* * Boot the plugin. A closure is used on purpose: a named function declared in this file would * be declared even when the early return above is hit, and would then clash with a second copy. */ add_action( 'plugins_loaded', static function () { Labelwise::init(); if ( is_admin() ) { Labelwise_Admin::init(); } } );