Astra_Minify::add_dependent_js( boolean $handle, string $src = null )

Used to enqueue dependent js frontend scripts.


Description


Parameters

$handle

(boolean) (Required) Script handle.

$src

(string) (Optional) Source URL.

Default value: null


Return

(void)


Source

File: classes/class-astra-minify.php

		public static function add_dependent_js( $handle, $src = null ) {
			self::$dependent_js_files[ $handle ] = $src;
		}

Changelog

Changelog
Version Description
1.0 Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.