Filters values for the meta key dropdown in the Custom Fields meta box.
Returning a non-null value will effectively short-circuit and avoid a potentially expensive query against postmeta.
$keysarray|null
$postWP_Post
$keys = apply_filters( 'postmeta_form_keys', null, $post );
| Version | Description |
|---|---|
| 4.4.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/postmeta_form_keys