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



register_meta_args ›

Since4.6.0
已弃用n/a
apply_filters( 'register_meta_args', $args, $defaults, $object_type, $meta_key )
参数: (4)
  • (array) $args Array of meta registration arguments.
    Required: Yes
  • (array) $defaults Array of default arguments.
    Required: Yes
  • (string) $object_type Object type.
    Required: Yes
  • (string) $meta_key Meta key.
    Required: Yes
定义在:
文档:

Filters the registration arguments when registering meta.





源码

$args = apply_filters( 'register_meta_args', $args, $defaults, $object_type, $meta_key );