Advertisements

get_stylesheet_uri

Definition:
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);

}

1713

Advertisements

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:

WordPress.com Logo

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

Google+ photo

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

Twitter picture

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

Facebook photo

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

Connecting to %s

%d bloggers like this: