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 ); }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
1.7.0 | Introduced. |