Inpsyde\MultilingualPress\Asset\AssetManager::get_script PHP Метод

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

Returns the script with the given handle.
С версии: 3.0.0
public get_script ( string $handle ) : Inpsyde\MultilingualPress\Asset\Script
$handle string Script handle.
Результат Inpsyde\MultilingualPress\Asset\Script Script object.
    public function get_script($handle)
    {
        $handle = (string) $handle;
        if (empty($this->scripts[$handle])) {
            return null;
        }
        return $this->scripts[$handle];
    }