wp_back/wp-content/plugins/smart-slider-3/Nextend/Framework/Pattern/GetAssetsPathTrait.php

22 lines
401 B
PHP
Raw Normal View History

2024-05-20 15:37:46 +03:00
<?php
namespace Nextend\Framework\Pattern;
use Nextend\Framework\Platform\Platform;
use Nextend\Framework\Url\Url;
trait GetAssetsPathTrait {
use GetPathTrait;
public static function getAssetsPath() {
return Platform::filterAssetsPath(self::getPath() . '/Assets');
}
public static function getAssetsUri() {
return Url::pathToUri(self::getAssetsPath());
}
}