dozent_asset_url( null $file_name = null )


Parameters

$file_name

(null) (Optional) file name with or without path, example: images/nodata.svg

Default value: null


Return

(mixed|void) Get Asset URL


Source

File: includes/core-functions.php

	function dozent_asset_url( $file_name = null ) {
		$asset_url = trailingslashit( apply_filters( 'dozent_asset_dir', DOZENT_URL . 'assets' ) );

		if ( $file_name ) {
			$asset_url .= $file_name;
		}

		return untrailingslashit( apply_filters( 'dozent_asset_url', $asset_url ) );
	}

Changelog

Changelog
Version Description
DozentLMS 1.0.0 Introduced.