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
This commit is contained in:
rob1n 2007-04-11 05:38:30 +00:00
parent 5327a547db
commit 95918aee5d
1 changed files with 1 additions and 1 deletions

View File

@ -233,7 +233,7 @@ function the_meta() {
continue;
$values = array_map('trim', get_post_custom_values($key));
$value = implode($values,', ');
echo "<li><span class='post-meta-key'>$key:</span> $value</li>\n";
echo apply_filters('the_meta_key', "<li><span class='post-meta-key'>$key:</span> $value</li>\n", $key, $value);
}
echo "</ul>\n";
}