__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
declare( strict_types=1 );
namespace Automattic\WooCommerce\Internal\Traits;
use Automattic\Jetpack\Constants;
/**
* Trait ScriptDebug
*
* @since 8.5.0
*/
trait ScriptDebug {
/**
* Get the script suffix based on the SCRIPT_DEBUG constant.
*
* @return string
*/
protected function get_script_suffix(): string {
return $this->is_script_debug_enabled() ? '' : '.min';
}
/**
* Check if SCRIPT_DEBUG is enabled.
*
* @return bool
*/
protected function is_script_debug_enabled(): bool {
return Constants::is_true( 'SCRIPT_DEBUG' );
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| AccessiblePrivateMethods.php | File | 8.23 KB | 0664 |
|
| OrderAttributionMeta.php | File | 9.95 KB | 0664 |
|
| ScriptDebug.php | File | 570 B | 0664 |
|