On this page
apply_filters( 'the_meta_key', string $html, string $key, string $value )
Filters the HTML output of the li element in the post custom fields list.
Parameters
$htmlstring-
The HTML output for the li element.
$keystring-
Meta key.
$valuestring-
Meta value.
Source
File: wp-includes/post-template.php. View all references
$li_html .= apply_filters( 'the_meta_key', $html, $key, $value );
Related
Used By
| Used By | Description |
|---|---|
| the_meta() wp-includes/post-template.php | Displays a list of post custom fields. |
Changelog
| Version | Description |
|---|---|
| 2.2.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/the_meta_key