summaryrefslogtreecommitdiffstats
path: root/wp-includes/link-template.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-includes/link-template.php')
-rw-r--r--wp-includes/link-template.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/wp-includes/link-template.php b/wp-includes/link-template.php
index edfb5f1..9875356 100644
--- a/wp-includes/link-template.php
+++ b/wp-includes/link-template.php
@@ -611,7 +611,8 @@ function adjacent_post_link($format, $link, $in_same_cat = false, $excluded_cate
$format = str_replace('%link', $link, $format);
- echo $format;
+ $adjacent = $previous ? 'previous' : 'next';
+ echo apply_filters( "{$adjacent}_post_link", $format, $link );
}
function get_pagenum_link($pagenum = 1) {