This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

Astra_Minify::_asset_slug()

Returns the prefix slug for the CSS cache file.


Description


Return

(string)


Source

File: classes/class-astra-minify.php

		private static function _asset_slug() { // phpcs:ignore PSR2.Methods.MethodDeclaration.Underscore
			if ( self::is_customizer_preview() ) {
				$slug = 'ast-customizer';
			} else {
				$slug = 'astra-addon';
			}

			return $slug;
		}

Changelog

Changelog
Version Description
1.0 Introduced.

User Contributed Notes

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