W3cubDocs

/WordPress

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

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

Changelog

Version Description
2.2.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/the_meta_key