locale_stylesheet_uri filter-hookWP 2.1.0

Filters the localized stylesheet URI.

Usage

add_filter( 'locale_stylesheet_uri', 'wp_kama_locale_stylesheet_uri_filter', 10, 2 );

/**
 * Function for `locale_stylesheet_uri` filter-hook.
 * 
 * @param string $stylesheet_uri     Localized stylesheet URI.
 * @param string $stylesheet_dir_uri Stylesheet directory URI.
 *
 * @return string
 */
function wp_kama_locale_stylesheet_uri_filter( $stylesheet_uri, $stylesheet_dir_uri ){

	// filter...
	return $stylesheet_uri;
}
$stylesheet_uri(string)
Localized stylesheet URI.
$stylesheet_dir_uri(string)
Stylesheet directory URI.

Changelog

Since 2.1.0 Introduced.

Where the hook is called

get_locale_stylesheet_uri()
locale_stylesheet_uri
wp-includes/theme.php 297
return apply_filters( 'locale_stylesheet_uri', $stylesheet_uri, $stylesheet_dir_uri );

Where the hook is used in WordPress

Usage not found.