web/wp-content/plugins/caldera-forms/classes/render/assets.php
/**
	 * Load the optional styles based on settings
	 *
	 * @since 1.4.3
	 */
Load the optional styles based on settings
@since 1.4.3
Load the optional styles based on settings @since 1 . 4 . 3
public static function optional_style_includes() {
		self::maybe_register();
		$style_includes = self::get_style_includes();
		$all = true;
		foreach( $style_includes as $style_include => $use ){
			if( false == $use ){
				$all = false;
			}
			self::enqueue_style( self::make_style_slug( $style_include ) );
		}
		if( $all ){
			self::enqueue_style( 'front' );
			foreach( array_keys(  $style_includes ) as $style_include  ){
				wp_dequeue_style( self::make_slug( $style_include ) );
			}
		}
	}
public static function optional_style_includes ( ) { self :: maybe_register ( ) ; $ style_includes = self :: get_style_includes ( ) ; $ all = true ; foreach ( $ style_includes as $ style_include => $ use ) { if ( false == $ use ) { $ all = false ; } self :: enqueue_style ( self :: make_style_slug ( $ style_include ) ) ; } if ( $ all ) { self :: enqueue_style ( 'front' ) ; foreach ( array_keys ( $ style_includes ) as $ style_include ) { wp_dequeue_style ( self :: make_slug ( $ style_include ) ) ; } } }
Load the optional styles based on settings
 @since 1.4.3
Load the optional styles based on settings @since 1 . 4 . 3