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

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

Changelog

VersionDescription
2.1.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.