From 0d0cf5aee2a9398b7c630eb4bdf8e91d3f0f125d Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Wed, 26 Jan 2005 22:49:18 +0000 Subject: [PATCH] Add category_link filter. git-svn-id: https://develop.svn.wordpress.org/trunk@2153 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/template-functions-category.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-includes/template-functions-category.php b/wp-includes/template-functions-category.php index 91b372becc..2f8eb66bd5 100644 --- a/wp-includes/template-functions-category.php +++ b/wp-includes/template-functions-category.php @@ -39,6 +39,7 @@ function get_category_link($echo = false, $category_id, $category_nicename) { $catlink = str_replace('%category%', $category_nicename, $catlink); $catlink = get_settings('home') . trailingslashit($catlink); } + $catlink = apply_filters('category_link', $catlink); if ($echo) echo $catlink; return $catlink; }