Inpsyde\MultilingualPress\Asset\AssetFactory::create_internal_style PHP Метод

create_internal_style() публичный Метод

Returns a new style object, instantiated according to the given arguments.
С версии: 3.0.0
public create_internal_style ( string $handle, string $file, array $dependencies = [], string | null $version = '', string $media = 'all' ) : Inpsyde\MultilingualPress\Asset\Style
$handle string The handle.
$file string File name.
$dependencies array Optional. The dependencies.
$version string | null Optional. Version of the file. Defaults to empty string.
$media string Optional. Style media data. Defaults to 'all'.
Результат Inpsyde\MultilingualPress\Asset\Style Style object.
    public function create_internal_style($handle, $file, array $dependencies = [], $version = '', $media = 'all')
    {
        return DebugAwareStyle::from_location($handle, new AssetLocation($file, $this->internal_style_path, $this->internal_style_url), $dependencies, $version, $media);
    }