wpseek.com
WordPress开发者和主题制作者的搜索引擎



postmeta_form_limit › WordPress过滤钩子

Since2.1.0
已弃用n/a
apply_filters( 'postmeta_form_limit', 30 )
参数:
  • (int) $limit Number of custom fields to retrieve. Default 30.
    Required: Yes
定义在:
文档:

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





源码

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