wordpress / latest / hooks / postmeta_form_limit.html

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 all references

$limit = apply_filters( 'postmeta_form_limit', 30 );

Used By

Used By Description

Changelog

Version Description
2.1.0 Introduced.

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