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
This commit is contained in:
rob1n 2007-04-11 05:38:30 +00:00
parent 25191fabb8
commit 61e18c550e
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";
}