snipt

Ctrl+h for KB shortcuts

PHP

Edit This for Page and Post

<?php edit_post_link(__('Edit This')); ?>
https://snipt.net/embed/9c35dfb146bdb3e90adbd3ece1ae5933/
/raw/9c35dfb146bdb3e90adbd3ece1ae5933/
9c35dfb146bdb3e90adbd3ece1ae5933
php
PHP
1
2019-07-15T01:16:52
True
False
False
/api/public/snipt/8527/
edit-this-for-page-and-post
<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">edit_post_link</span><span class="p">(</span><span class="nx">__</span><span class="p">(</span><span class="s1">&#39;Edit This&#39;</span><span class="p">));</span> <span class="cp">?&gt;</span><span class="x"></span> </span></pre></div> </td></tr></table>
wordpress