WordPress at a glance
function is not described

Automattic\WooCommerce\Admin

FeaturePlugin::define_constants() protected WC 1.0

Define Constants.

{} It's a method of the class: FeaturePlugin{}

No Hooks.

Return

null. Nothing.

Usage

// protected - for code of main (parent) or child class
$result = $this->define_constants();

Code of FeaturePlugin::define_constants() WC 5.2.2

<?php
protected function define_constants() {
	$this->define( 'WC_ADMIN_APP', 'wc-admin-app' );
	$this->define( 'WC_ADMIN_ABSPATH', dirname( __DIR__ ) . '/' );
	$this->define( 'WC_ADMIN_DIST_JS_FOLDER', 'dist/' );
	$this->define( 'WC_ADMIN_DIST_CSS_FOLDER', 'dist/' );
	$this->define( 'WC_ADMIN_PLUGIN_FILE', WC_ADMIN_ABSPATH . 'woocommerce-admin.php' );
	// WARNING: Do not directly edit this version number constant.
	// It is updated as part of the prebuild process from the package.json value.
	$this->define( 'WC_ADMIN_VERSION_NUMBER', '2.1.5' );
}