Astra_Addon_AMP_Compatibility::css_replace_breakpoint_to_amp( String $css )

Change the breakpoint CSS class to ast-amp for AMP specific CSS.


Description


Parameters

$css

(String) (Required) compiled css.


Return

(String)


Source

File: classes/compatibility/class-astra-addon-amp-compatibility.php

	public function css_replace_breakpoint_to_amp( $css ) {
		return str_replace( 'ast-header-break-point', 'ast-amp', $css );
	}

Changelog

Changelog
Version Description
1.7.0 Introduced.

User Contributed Notes

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