Astra_Minify::get_http2_js_files()

Get CSS files to HTTP/2.


Description


Return

(array())


Source

File: classes/class-astra-minify.php

		public static function get_http2_js_files() {

			// Get the js key.
			$js_slug  = self::_asset_slug();
			$js_files = get_option( self::$_js_key . '-files-' . $js_slug, array() );

			self::$dependent_js_files = get_option( self::$_js_key . '-dep-' . $js_slug );

			// No js files, recompile the js files.
			if ( ! $js_files ) {
				self::render_http2_js();
				return self::get_http2_js_files();
			}

			// Return the files array().
			return $js_files;
		}

Changelog

Changelog
Version Description
1.0 Introduced.

User Contributed Notes

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