public function _set_preload_stylesheet( $tag, $handle, $src ) {
		$handles = apply_filters( 'inc2734_wp_page_speed_optimization_output_head_styles', [] );
		if ( in_array( $handle, $handles ) && 0 === strpos( $src, site_url() ) ) {
			$sitepath = site_url( '', 'relative' );
			$abspath  = untrailingslashit( ABSPATH );

			if ( $sitepath ) {
				$abspath = preg_replace( '|(.*?)' . preg_quote( $sitepath ) . '$|', '$1', $abspath );
			}

			$parse  = parse_url( $src );
			$buffer = \file_get_contents( $abspath . $parse['path'] );
			$buffer = str_replace( 'url(../', 'url(' . dirname( $parse['path'] ) . '/../', $buffer );
			$buffer = str_replace( 'url(//', 'url(/', $buffer );
			// @codingStandardsIgnoreStart
			?>
			<style><?php echo $buffer; ?></style>
			<?php
			// @codingStandardsIgnoreEnd
			return;
		}

		$handles = apply_filters( 'inc2734_wp_page_speed_optimization_preload_stylesheets', [] );
		if ( in_array( $handle, $handles ) ) {
			return str_replace( '\'stylesheet\'', '\'preload\' as="style"', $tag );
		}

		return $tag;
	}
public function _set_preload_stylesheet( $tag, $handle, $src ) {
		$handles = apply_filters( 'inc2734_wp_page_speed_optimization_output_head_styles', [] );
		if ( in_array( $handle, $handles ) && 0 === strpos( $src, site_url() ) ) {
			$sitepath = site_url( '', 'relative' );
			$abspath  = untrailingslashit( ABSPATH );

			if ( $sitepath ) {
				$abspath = preg_replace( '|(.*?)' . preg_quote( $sitepath ) . '$|', '$1', $abspath );
			}

			$parse  = parse_url( $src );
			$buffer = \file_get_contents( $abspath . $parse['path'] );
			$buffer = str_replace( 'url(../', 'url(' . dirname( $parse['path'] ) . '/../', $buffer );
			$buffer = str_replace( 'url(//', 'url(/', $buffer );
			// @codingStandardsIgnoreStart
			?>
			<style><?php echo $buffer; ?></style>
			<?php
			// @codingStandardsIgnoreEnd
			return;
		}

		$handles = apply_filters( 'inc2734_wp_page_speed_optimization_preload_stylesheets', [] );
		if ( in_array( $handle, $handles ) ) {
			return str_replace( '\'stylesheet\'', '\'preload\' as="style"', $tag );
		}

		return $tag;
	}
public function _set_preload_stylesheet ( $ tag , $ handle , $ src ) { $ handles = apply_filters ( 'inc2734_wp_page_speed_optimization_output_head_styles' , [ ] ) ; if ( in_array ( $ handle , $ handles ) && 0 === strpos ( $ src , site_url ( ) ) ) { $ sitepath = site_url ( '' , 'relative' ) ; $ abspath = untrailingslashit ( ABSPATH ) ; if ( $ sitepath ) { $ abspath = preg_replace ( '|(.*?)' . preg_quote ( $ sitepath ) . '$|' , '$1' , $ abspath ) ; } $ parse = parse_url ( $ src ) ; $ buffer = \ file_get_contents ( $ abspath . $ parse [ 'path' ] ) ; $ buffer = str_replace ( 'url(../' , 'url(' . dirname ( $ parse [ 'path' ] ) . '/../' , $ buffer ) ; $ buffer = str_replace ( 'url(//' , 'url(/' , $ buffer ) ; // @codingStandardsIgnoreStart ?>
			<style><?php echo $ buffer ; ?></style>
			<?php // @codingStandardsIgnoreEnd return ; } $ handles = apply_filters ( 'inc2734_wp_page_speed_optimization_preload_stylesheets' , [ ] ) ; if ( in_array ( $ handle , $ handles ) ) { return str_replace ( '\'stylesheet\'' , '\'preload\' as="style"' , $ tag ) ; } return $ tag ; }
Set rel="preload" for stylesheet

@param string $tag
@param string handle
@param string src
@return string
Set rel = preload for stylesheet