Assets::get_full_url( string $src )

Transforms a relative asset path into a full URL.

Description

The method also automatically handles loading a minified vs non-minified file.

See also

Parameters

$src

(string) (Required) Relative asset path.

Return

(string|bool) Full asset URL, or false if the path is requested for a full $src URL.

Source

File: src/assets.php

	public function get_full_url( $src ) {
		return $this->get_full_path( $src, true );
	}

Changelog

Changelog
Version Description
1.0.0 Introduced.