postmeta_form_limit filter-hook . WP 2.1.0
Filters the number of custom fields to retrieve for the drop-down in the Custom Fields meta box.
Usage
add_filter( 'postmeta_form_limit', 'filter_function_name_1768' ); function filter_function_name_1768( $limit ){ // filter... return $limit; }
- $limit(int)
- Number of custom fields to retrieve.
Default: 30
Changelog
Since 2.1.0 | Introduced. |
Where the hook is called
postmeta_form_limit
wp-admin/includes/template.php 691
$limit = apply_filters( 'postmeta_form_limit', 30 );