function get_stylesheet_uri() {}

Retrieve URI of current theme stylesheet.
The stylesheet file name is ‘style.css’ which is appended to stylesheet directory URI path.

Defined filters

  • stylesheet_uri
    apply_filters('stylesheet_uri', $stylesheet_uri, $stylesheet_dir_uri)

Source code

function get_stylesheet_uri() {

	$stylesheet_dir_uri = get_stylesheet_directory_uri();

	$stylesheet_uri = $stylesheet_dir_uri . '/style.css';

	return apply_filters('stylesheet_uri', $stylesheet_uri, $stylesheet_dir_uri);



No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: