wpseek.com
A WordPress-centric search engine for devs and theme authors



postmeta_form_limit › WordPress Filter Hooks

Since2.1.0
Deprecatedn/a
apply_filters( 'postmeta_form_limit', 30 )
Parameters:
  • (int) $limit Number of custom fields to retrieve. Default 30.
    Required: Yes
Defined at:
Codex:

Filters the number of custom fields to retrieve for the drop-down in the Custom Fields meta box.





Source

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