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 );
Changelog
Version | Description |
---|---|
2.1.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.
Current default limit is 30 keys shown in the dropdown. If you want to increase the limit.