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 on Trac

Changelog

Version Description
2.2.0 Introduced.

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