snipt

Ctrl+h for KB shortcuts

PHP

Echo template directory

<?php bloginfo('template_directory'); ?>
https://snipt.net/embed/4e8a8ea23d1868fd2604ac5ecd7a5be4/
/raw/4e8a8ea23d1868fd2604ac5ecd7a5be4/
4e8a8ea23d1868fd2604ac5ecd7a5be4
php
PHP
1
2019-06-25T19:34:28
True
False
False
/api/public/snipt/41969/
echo-template-directory
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a><span class="cp">&lt;?php</span> <span class="nx">bloginfo</span><span class="p">(</span><span class="s1">&#39;template_directory&#39;</span><span class="p">);</span> <span class="cp">?&gt;</span><span class="x"></span> </span></pre></div> </td></tr></table>
theme, wordpress