Add the_permalink filter. Bug 693. Props: morganiq
git-svn-id: https://develop.svn.wordpress.org/trunk@2094 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
9e2a26f943
commit
04b4729e6e
|
@ -1,11 +1,11 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
function the_permalink() {
|
function the_permalink() {
|
||||||
echo get_permalink();
|
echo apply_filters('the_permalink', get_permalink());
|
||||||
}
|
}
|
||||||
|
|
||||||
function permalink_link() { // For backwards compatibility
|
function permalink_link() { // For backwards compatibility
|
||||||
echo get_permalink();
|
echo apply_filters('the_permalink', get_permalink());
|
||||||
}
|
}
|
||||||
|
|
||||||
function permalink_anchor($mode = 'id') {
|
function permalink_anchor($mode = 'id') {
|
||||||
|
|
Loading…
Reference in New Issue