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

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

Leave a comment