Version: 1.2.5 Allows for more existing custom field names to be listed in the dropdown selection field when writing a post.
Allows for more existing custom field names to be listed in the dropdown selection field when writing a post.
By default, WordPress only allows 30 custom field names/keys to be listed in the dropdown selection 'Name' field when writing a post or page. If you, or the plugins you use, make use of a lot of custom field key names, you may surpass the default limit resulting in some custom field keys not being listed. This may force post authors to manually type in custom field key names if they aren't listed, which increases the chances for naming errors (typos, or not using the precise key name that is needed). This may also cause some authors concern wondering where previously used custom field keys have gone since they aren't listed.
This plugin increases the limit to 200 custom field key names. Due to the simplistic nature of the plugin and the overhead of doing so for a single setting, there is no settings page to customize this value. Assuming you want to change the value of the limit to 100, you can do so in either of two ways:
define( 'CUSTOM_FIELD_NAMES_LIMIT', 100 );-or-
add_filter( 'c2c_list_more_custom_field_names', create_function( '$limit', 'return 100;' ) );