Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-admin/includes/template.php | apply_filters | 686 | /** * 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. * * @since 4.4.0 * * @param array|null $keys Pre-defined meta keys to be used in place of a postmeta query. Default null. * @param WP_Post $post The current post object. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
array|null | $keys | Pre-defined meta keys to be used in place of a postmeta query. Default null. |
WP_Post | $post | The current post object. |