Inpsyde\MultilingualPress\Asset\AssetManager::get_style PHP Method

get_style() public method

Returns the style with the given handle.
Since: 3.0.0
public get_style ( string $handle ) : Inpsyde\MultilingualPress\Asset\Style
$handle string Script handle.
return Inpsyde\MultilingualPress\Asset\Style Style object.
    public function get_style($handle)
    {
        $handle = (string) $handle;
        if (empty($this->styles[$handle])) {
            return null;
        }
        return $this->styles[$handle];
    }