Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




get_stylesheet_uri [ WordPress Function ]

get_stylesheet_uri ( No parameters )
Uses:
Returns:
  • (string)
Defined at:



Retrieve URI of current theme stylesheet.

The stylesheet file name is 'style.css' which is appended to {@link get_stylesheet_directory_uri() stylesheet directory URI} path.

Source


<?php
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);
}
?>

Examples [ wp-snippets.com ]

Google Arama Sonuçlarý

Dahasý ...

0 User Note(s)

Henüz yok. Ýlk sen ol!

Yeni Ekle ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics