From 61e18c550e3ab83a31258b5fabb7862769435c2b Mon Sep 17 00:00:00 2001 From: rob1n Date: Wed, 11 Apr 2007 05:38:30 +0000 Subject: [PATCH] Add the_meta_key filter with $key and $value arguments. Props mdawaffe. fixes #2861 git-svn-id: http://svn.automattic.com/wordpress/trunk@5241 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/post-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/post-template.php b/wp-includes/post-template.php index 358ebc9808..013136b8b8 100644 --- a/wp-includes/post-template.php +++ b/wp-includes/post-template.php @@ -233,7 +233,7 @@ function the_meta() { continue; $values = array_map('trim', get_post_custom_values($key)); $value = implode($values,', '); - echo "
  • $value
  • \n"; + echo apply_filters('the_meta_key', "
  • $value
  • \n", $key, $value); } echo "\n"; }