On this page
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
$limitint-
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 );
Related
Used By
| Used By | Description |
|---|---|
| meta_form() wp-admin/includes/template.php | Prints the form in the Custom Fields meta box. |
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