W3cubDocs

/WordPress

apply_filters( 'postmeta_form_limit', int $limit )

Filters the number of custom fields to retrieve for the drop-down in the Custom Fields meta box.

Parameters

$limit

(int) Number of custom fields to retrieve. Default 30.

Source

File: wp-admin/includes/template.php

View on Trac

Changelog

Version Description
2.1.0 Introduced.

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