Utilities::automator_get_media( string $file_name )

Returns the full url for the passed media file


Parameters Parameters

$file_name

(string) (Required)


Top ↑

Return Return

(string) $asset_url


Source Source

File: src/core/class-utilities.php

	public static function automator_get_media( $file_name ) {
		return plugins_url( 'src/assets/img/' . $file_name, AUTOMATOR_BASE_FILE );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
1.0.0 Introduced.