Switch language

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




get_template_directory_uri [ WordPress Function ]

get_template_directory_uri ( No parameters )
Uses:
Returns:
  • (string) Template directory URI.
Defined at:



Retrieve theme directory URI.

Source


<?php
function get_template_directory_uri() {
    
$template get_template();
    
$theme_root_uri get_theme_root_uri$template );
    
$template_dir_uri "$theme_root_uri/$template";

    return 
apply_filters'template_directory_uri'$template_dir_uri$template$theme_root_uri );
}
?>

Examples [ wp-snippets.com ]

Top Google zoekresultaten

Meer ...

Gebruikersdiscussies [ wordpress.org ]

0 User Note(s)

Nog geen één. Wees de eerste!

Nieuw toevoegen ...



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