File: /var/www/vhosts/uyarreklam.com.tr/httpdocs/AdminStyleAsset.php.tar
uyarreklam.com.tr/httpdocs/wp-content/plugins/google-listings-and-ads/src/Assets/AdminStyleAsset.php0000644 00000001007 15155210074 0032637 0 ustar 00 var/www/vhosts <?php
declare( strict_types=1 );
namespace Automattic\WooCommerce\GoogleListingsAndAds\Assets;
/**
* Class AdminStyleAsset
*
* @package Automattic\WooCommerce\GoogleListingsAndAds\Assets
*/
class AdminStyleAsset extends StyleAsset {
use AdminAssetHelper;
/**
* Get the condition callback to run when enqueuing the asset.
*
* The asset will only be enqueued if the callback returns true.
*
* @return bool
*/
public function can_enqueue(): bool {
return is_admin() && parent::can_enqueue();
}
}