Astra_Dynamic_CSS::page_builder_button_style_css()

Check backwards compatibility to not load default CSS for the button styling of Page Builders.


Description


Return

(boolean) true if button style CSS should be loaded, False if not.


Source

File: inc/class-astra-dynamic-css.php

		public static function page_builder_button_style_css() {
			$astra_settings                                  = get_option( ASTRA_THEME_SETTINGS );
			$astra_settings['pb-button-color-compatibility'] = ( isset( $astra_settings['pb-button-color-compatibility'] ) && false === $astra_settings['pb-button-color-compatibility'] ) ? false : true;
			return apply_filters( 'astra_page_builder_button_style_css', $astra_settings['pb-button-color-compatibility'] );
		}

Changelog

Changelog
Version Description
2.2.0 Introduced.


User Contributed Notes

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