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:
parent
5327a547db
commit
95918aee5d
@ -233,7 +233,7 @@ function the_meta() {
|
|||||||
continue;
|
continue;
|
||||||
$values = array_map('trim', get_post_custom_values($key));
|
$values = array_map('trim', get_post_custom_values($key));
|
||||||
$value = implode($values,', ');
|
$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";
|
echo "</ul>\n";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user