wp_back/wp-content/plugins/smart-slider-3/Nextend/Framework/Pattern/GetAssetsPathTrait.php
2024-05-20 15:37:46 +03:00

22 lines
401 B
PHP

<?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());
}
}