From 95918aee5d3d56de0ad8ff30862541cf8b3e609a 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: https://develop.svn.wordpress.org/trunk@5241 602fd350-edb4-49c9-b593-d223f7449a82 --- 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"; }