wordpress / latest / hooks / the_meta_key.html

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

$html string
The HTML output for the li element.
$key string
Meta key.
$value string
Meta value.

Source

File: wp-includes/post-template.php. View all references

$li_html .= apply_filters( 'the_meta_key', $html, $key, $value );

Used By

Used By Description

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