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:
parent
25191fabb8
commit
61e18c550e
|
@ -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";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue