WordPress at a glance
function is not described

WP_Styles::_css_href() public WP 2.6.0

Generates an enqueued style's fully-qualified URL.

{} It's a method of the class: WP_Styles{}

Hooks from the method
Return

String. Style's fully-qualified URL.

Usage

global $wp_styles;
$wp_styles->_css_href( $src, $ver, $handle );
$src(string) (required)
The source of the enqueued style.
$ver(string) (required)
The version of the enqueued style.
$handle(string) (required)
The style's registered handle.

Changelog

Since 2.6.0 Introduced.

Code of WP_Styles::_css_href() WP 5.5.2

<?php
public function _css_href( $src, $ver, $handle ) {
	if ( ! is_bool( $src ) && ! preg_match( '|^(https?:)?//|', $src ) && ! ( $this->content_url && 0 === strpos( $src, $this->content_url ) ) ) {
		$src = $this->base_url . $src;
	}

	if ( ! empty( $ver ) ) {
		$src = add_query_arg( 'ver', $ver, $src );
	}

	/**
	 * Filters an enqueued style's fully-qualified URL.
	 *
	 * @since 2.6.0
	 *
	 * @param string $src    The source URL of the enqueued style.
	 * @param string $handle The style's registered handle.
	 */
	$src = apply_filters( 'style_loader_src', $src, $handle );
	return esc_url( $src );
}