apply_filters( 'postmeta_form_keys', array|null $keys, WP_Post $post )

Filters values for the meta key dropdown in the Custom Fields meta box.

Description Description

Returning a non-null value will effectively short-circuit and avoid a potentially expensive query against postmeta.

Top ↑

Parameters Parameters


(array|null) Pre-defined meta keys to be used in place of a postmeta query. Default null.


(WP_Post) The current post object.

Top ↑

Source Source

File: wp-admin/includes/template.php

View on Trac

Top ↑

Changelog Changelog

Version Description
4.4.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.