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
$limit = apply_filters( 'postmeta_form_limit', 30 );
Changelog
Version | Description |
---|---|
2.1.0 | Introduced. |
Current default limit is 30 keys shown in the dropdown. If you want to increase the limit.